spec/dummy/log/development.log in pulitzer-0.5.3 vs spec/dummy/log/development.log in pulitzer-0.5.4

- old
+ new

@@ -1,7131 +1,199 @@ -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -#<ActiveModel::Errors:0x007fa76cdac4b8> -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -{:title=>["can't be blank"]} - - -Started GET "/pulitzer" for ::1 at 2016-08-30 09:42:22 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.2ms) -Completed 200 OK in 432ms (Views: 430.1ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 09:42:22 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 09:42:22 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 09:42:22 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 09:42:22 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 09:42:23 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 09:42:23 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 09:42:23 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 09:42:23 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 09:42:23 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 09:42:23 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 09:42:23 -0500 - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=nB9E4qjeCHoTpreNUGbV0njwhStlE00ljYd2b7fbz%2BI%2F2oaMcq69NLZak3rdsdt5f9YzvbfowKg2ldpe82pGvw%3D%3D" for ::1 at 2016-08-30 09:42:25 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"nB9E4qjeCHoTpreNUGbV0njwhStlE00ljYd2b7fbz+I/2oaMcq69NLZak3rdsdt5f9YzvbfowKg2ldpe82pGvw=="} - Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (50.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (88.4ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (21.2ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (26.1ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (24.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (274.4ms) -Completed 200 OK in 936ms (Views: 294.6ms | ActiveRecord: 4.2ms) - - -Started GET "/pulitzer/post_types/4/edit?authenticity_token=nB9E4qjeCHoTpreNUGbV0njwhStlE00ljYd2b7fbz%2BI%2F2oaMcq69NLZak3rdsdt5f9YzvbfowKg2ldpe82pGvw%3D%3D" for ::1 at 2016-08-30 09:42:33 -0500 -Processing by Pulitzer::PostTypesController#edit as */* - Parameters: {"authenticity_token"=>"nB9E4qjeCHoTpreNUGbV0njwhStlE00ljYd2b7fbz+I/2oaMcq69NLZak3rdsdt5f9YzvbfowKg2ldpe82pGvw==", "id"=>"4"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (5.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form_fields.html.erb (34.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form.html.erb (100.2ms) -Completed 200 OK in 198ms (Views: 145.8ms | ActiveRecord: 0.2ms) - - -Started PATCH "/pulitzer/post_types/4" for ::1 at 2016-08-30 09:42:36 -0500 -Processing by Pulitzer::PostTypesController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"vnsdcb6BP3xnwQ029HNw2V01Rm/WDhXk+CeHaAY2H/Edvt8fZPGKMsI9KcF5pH5yWhPw+QT1mGlDNStZQoeWrA==", "post_type"=>{"name"=>"Amarillo", "kind"=>"template", "plural"=>"0"}, "commit"=>"Update", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction -  (0.1ms) commit transaction - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] +  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction -  (0.1ms) commit transaction - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.7ms) -Completed 200 OK in 31ms (Views: 22.6ms | ActiveRecord: 0.6ms) - - -Started GET "/pulitzer/posts/amarillo/edit" for ::1 at 2016-08-30 09:42:37 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo"} - Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (18.9ms) -Completed 200 OK in 86ms (Views: 83.2ms | ActiveRecord: 1.3ms) - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=CwFTKBIJwypf4mRenxYMiZgfAn62aTPZb79oUTRwfeqoxJFGyHl2ZPoeQKkSwQIinzm06GSSvlTUrcRgcMH0tw%3D%3D" for ::1 at 2016-08-30 09:42:38 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"CwFTKBIJwypf4mRenxYMiZgfAn62aTPZb79oUTRwfeqoxJFGyHl2ZPoeQKkSwQIinzm06GSSvlTUrcRgcMH0tw==", "id"=>"4"} - Pulitzer::Version Load (1.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.4ms) - Pulitzer::PostTag Load (0.4ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (24.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (16.3ms) - Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::FreeFormSectionType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (174.9ms) -Completed 200 OK in 1665ms (Views: 195.7ms | ActiveRecord: 4.0ms) - - -Started GET "/pulitzer/posts/amarillo/edit_slug?authenticity_token=CwFTKBIJwypf4mRenxYMiZgfAn62aTPZb79oUTRwfeqoxJFGyHl2ZPoeQKkSwQIinzm06GSSvlTUrcRgcMH0tw%3D%3D" for ::1 at 2016-08-30 09:42:45 -0500 -Processing by Pulitzer::PostsController#edit_slug as */* - Parameters: {"authenticity_token"=>"CwFTKBIJwypf4mRenxYMiZgfAn62aTPZb79oUTRwfeqoxJFGyHl2ZPoeQKkSwQIinzm06GSSvlTUrcRgcMH0tw==", "id"=>"amarillo"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_form_slug.html.erb (4.2ms) -Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 0.1ms) - - -Started PATCH "/pulitzer/posts/amarillo/update_slug" for ::1 at 2016-08-30 09:42:47 -0500 -Processing by Pulitzer::PostsController#update_slug as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"+Bxu5ROBofp2Cy7oNevgB3PACSiIgOgKqK9hRDzNAt1b2ayLyfEUtNP3Ch+4PO6sdOa/vlp7ZYcTvc11eHyLgA==", "post"=>{"slug"=>"amarillo2"}, "commit"=>"Update Post", "id"=>"amarillo"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo"]] +  (0.4ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]] +  (0.7ms) commit transaction +Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction - SQL (0.7ms) UPDATE "pulitzer_posts" SET "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["slug", "amarillo2"], ["updated_at", "2016-08-30 14:42:47.258182"], ["id", 4]] -  (1271.2ms) commit transaction - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.6ms) -Completed 200 OK in 1297ms (Views: 18.9ms | ActiveRecord: 1272.1ms) - - -Started GET "/pulitzer/post_types" for ::1 at 2016-08-30 09:42:52 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (1.8ms) -Completed 200 OK in 104ms (Views: 103.5ms | ActiveRecord: 0.0ms) - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=vjMtGkmRZMrjG1rcgdNgQEXiFdJM61hEkoiDUnK3Akkd9u90k%2BHRhEbnfisMBG7rQsSjRJ4Q1ckpmi9jNgaLFA%3D%3D" for ::1 at 2016-08-30 09:42:53 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"vjMtGkmRZMrjG1rcgdNgQEXiFdJM61hEkoiDUnK3Akkd9u90k+HRhEbnfisMBG7rQsSjRJ4Q1ckpmi9jNgaLFA=="} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (30.4ms) - Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (4.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (56.6ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (3.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (25.6ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (26.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (261.4ms) -Completed 200 OK in 295ms (Views: 293.0ms | ActiveRecord: 0.9ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-08-30 09:42:54 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.7ms) -Completed 200 OK in 56ms (Views: 55.0ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=lOo63u9vwR0MkpwWfR9jLHhqv1qhwt0gZH8c5o%2BlfXM3L%2FiwNR90U6luuOHwyG2Hf0wJzHM5UK3fbbDXyxT0Lg%3D%3D" for ::1 at 2016-08-30 09:42:55 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"lOo63u9vwR0MkpwWfR9jLHhqv1qhwt0gZH8c5o+lfXM3L/iwNR90U6luuOHwyG2Hf0wJzHM5UK3fbbDXyxT0Lg==", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (33.5ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.7ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.4ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (188.3ms) -Completed 200 OK in 215ms (Views: 209.6ms | ActiveRecord: 0.8ms) - - -Started GET "/pulitzer/post_types" for ::1 at 2016-08-30 09:43:21 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (0.6ms) -Completed 200 OK in 53ms (Views: 53.3ms | ActiveRecord: 0.0ms) - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=q%2BWd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt%2FXT%2F2OIIIF%2Bfu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw%3D%3D" for ::1 at 2016-08-30 09:43:22 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"q+Wd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt/XT/2OIIIF+fu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw=="} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (45.1ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (24.1ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (20.8ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (18.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (185.4ms) -Completed 200 OK in 206ms (Views: 204.6ms | ActiveRecord: 0.5ms) - - -Started GET "/pulitzer/post_types/4/template?authenticity_token=q%2BWd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt%2FXT%2F2OIIIF%2Bfu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw%3D%3D" for ::1 at 2016-08-30 09:43:32 -0500 -Processing by Pulitzer::PostTypesController#template as */* - Parameters: {"authenticity_token"=>"q+Wd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt/XT/2OIIIF+fu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw==", "id"=>"4"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.7ms) - Pulitzer::PostTypeContentElementType Load (0.2ms) 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", 4]] - 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", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_template.html.erb (27.2ms) -Completed 200 OK in 4228ms (Views: 4226.3ms | ActiveRecord: 0.6ms) - - -Started GET "/pulitzer/post_types/4/template?authenticity_token=q%2BWd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt%2FXT%2F2OIIIF%2Bfu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw%3D%3D" for ::1 at 2016-08-30 09:43:36 -0500 -Processing by Pulitzer::PostTypesController#template as */* - Parameters: {"authenticity_token"=>"q+Wd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt/XT/2OIIIF+fu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.0ms) - 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", 4]] - Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_template.html.erb (19.3ms) -Completed 200 OK in 41ms (Views: 39.3ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/post_types/4?authenticity_token=q%2BWd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt%2FXT%2F2OIIIF%2Bfu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw%3D%3D" for ::1 at 2016-08-30 09:43:37 -0500 -Processing by Pulitzer::PostTypesController#show as */* - Parameters: {"authenticity_token"=>"q+Wd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt/XT/2OIIIF+fu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.0ms) -Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.2ms) - - -Started GET "/pulitzer/post_types/4/edit?authenticity_token=q%2BWd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt%2FXT%2F2OIIIF%2Bfu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw%3D%3D" for ::1 at 2016-08-30 09:43:38 -0500 -Processing by Pulitzer::PostTypesController#edit as */* - Parameters: {"authenticity_token"=>"q+Wd8WHxDa0ckG0dVc6y5U7Fa32FkS49SRNt/XT/2OIIIF+fu4G447lsSerYGbxOSePd61dqo7DyAcHMME5Rvw==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form_fields.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form.html.erb (34.2ms) -Completed 200 OK in 51ms (Views: 50.9ms | ActiveRecord: 0.1ms) - - -Started PATCH "/pulitzer/post_types/4" for ::1 at 2016-08-30 09:43:41 -0500 -Processing by Pulitzer::PostTypesController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"Kx3euX4fDXdNdH+nSYOK/wN0lAvIquEm7JpSHoQfNT6I2BzXpG+4OeiIW1DEVIRUBFIinRpRbKtXiP4vwK68Yw==", "post_type"=>{"name"=>"Amarillo", "kind"=>"template", "plural"=>"0"}, "commit"=>"Update", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] +  (0.4ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction -  (0.0ms) commit transaction - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.6ms) -Completed 200 OK in 20ms (Views: 15.7ms | ActiveRecord: 0.4ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-08-30 09:43:45 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.3ms) -Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=NCgV5QjvIhNASYUItxuPSjiB%2BJtbXxCKY6egpUGQWy2X7deL0p%2BXXeW1of86zIHhP6dODYmknQfYtQyUBSHScA%3D%3D" for ::1 at 2016-08-30 09:43:45 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"NCgV5QjvIhNASYUItxuPSjiB+JtbXxCKY6egpUGQWy2X7deL0p+XXeW1of86zIHhP6dODYmknQfYtQyUBSHScA==", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (17.9ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (22.4ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (22.4ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (155.4ms) -Completed 200 OK in 178ms (Views: 172.6ms | ActiveRecord: 0.9ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-08-30 09:48:18 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.0ms) -Completed 200 OK in 75ms (Views: 73.6ms | ActiveRecord: 0.6ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 09:48:18 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=tNHAgqvsbTHqm1947VTi5s5a1lVnbiPOmmLBAPfudy0XFALscZzYf09ne49gg%2BxNyXxgw7WVrkMhcG0xs1%2F%2BcA%3D%3D" for ::1 at 2016-08-30 09:48:18 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"tNHAgqvsbTHqm1947VTi5s5a1lVnbiPOmmLBAPfudy0XFALscZzYf09ne49gg+xNyXxgw7WVrkMhcG0xs1/+cA==", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (535.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (552.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (570.2ms) -Completed 500 Internal Server Error in 595ms - -ActionView::Template::Error (undefined method `singleton_post' for #<Pulitzer::Post:0x007fbbf9619f38>): - 1: <div class="pulitzer-row"> - 2: <ul class="list"> - 3: <li><%= post.slug %></li> - 4: <% unless post.singleton_post %> - 5: <li><%= ajax_link "Edit", edit_slug_post_path(post), {}, dom_target(post) %></li> - 6: <% end %> - 7: </ul> - activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb:4:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_posts__show_slug_html_erb___3428019264080707785_70222680933880' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb:3:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_posts__show_wrapper_html_erb___3050806907851814449_70222662953820' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb:26:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_versions__edit_html_erb___2844062037096475783_70222657729660' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - thin_man (0.13.0) lib/thin_man/ajax_responder.rb:4:in `render_ajax' - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:9:in `edit' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (48.9ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-08-30 09:48:40 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (3.4ms) -Completed 200 OK in 69ms (Views: 67.3ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 09:48:40 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=F6mBCq9S1%2BVlSA33F6hjTgZrTknIbS%2Bp%2FKZZEdiZ3ja0bENkdSJiq8C0KQCaf23lAU343xqWoiRHtPUgnChXaw%3D%3D" for ::1 at 2016-08-30 09:48:40 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"F6mBCq9S1+VlSA33F6hjTgZrTknIbS+p/KZZEdiZ3ja0bENkdSJiq8C0KQCaf23lAU343xqWoiRHtPUgnChXaw==", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (142889.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (142906.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (142925.5ms) -Completed 500 Internal Server Error in 142950ms - -ActionView::Template::Error (undefined method `singleton_post' for #<Pulitzer::Post:0x007fbbf8a82030>): - 2: <ul class="list"> - 3: <li><%= post.slug %></li> - 4: <% unless post.post_type.singleton_post? %> - 5: <li><%= ajax_link "Edit", edit_slug_post_path(post), {}, dom_target(post) %></li> - 6: <% end %> - 7: </ul> - 8: </div> - activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb:5:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_posts__show_slug_html_erb___3428019264080707785_70222671300100' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb:3:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_posts__show_wrapper_html_erb___3050806907851814449_70222662953820' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb:26:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_versions__edit_html_erb___2844062037096475783_70222657729660' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - thin_man (0.13.0) lib/thin_man/ajax_responder.rb:4:in `render_ajax' - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:9:in `edit' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (28.4ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-08-30 09:51:09 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.9ms) -Completed 200 OK in 108ms (Views: 104.3ms | ActiveRecord: 0.8ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 09:51:09 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=C50o9jE3UOa6iBzc%2B7jmbWAmMjvD2Ioz7%2BARuYyHONSoWOqY60flqB90OCt2b%2BjGZwCErREjB75U8r2IyDaxiQ%3D%3D" for ::1 at 2016-08-30 09:51:09 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"C50o9jE3UOa6iBzc+7jmbWAmMjvD2Ioz7+ARuYyHONSoWOqY60flqB90OCt2b+jGZwCErREjB75U8r2IyDaxiQ==", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (24.1ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.2ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (27.1ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (165.4ms) -Completed 200 OK in 190ms (Views: 181.5ms | ActiveRecord: 1.2ms) - - -Started GET "/pulitzer/post_types" for ::1 at 2016-08-30 09:51:16 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 69ms (Views: 69.0ms | ActiveRecord: 0.0ms) - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=egREjLbKmLtO1%2B8iFppGY3ixq3tD29CFXKooxpbGjlrZwYbibLot9esry9WbTUjIf5cd7ZEgXQjnuIT30ncHBw%3D%3D" for ::1 at 2016-08-30 09:51:16 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"egREjLbKmLtO1+8iFppGY3ixq3tD29CFXKooxpbGjlrZwYbibLot9esry9WbTUjIf5cd7ZEgXQjnuIT30ncHBw=="} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (3.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (18.6ms) - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (19.8ms) - Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (20.8ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (20.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (151.2ms) -Completed 200 OK in 205ms (Views: 203.6ms | ActiveRecord: 1.2ms) - - -Started GET "/pulitzer/posts/azul/edit" for ::1 at 2016-08-30 09:51:18 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"azul"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "azul"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 3]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (3.0ms) -Completed 200 OK in 57ms (Views: 55.0ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/versions/3/edit?authenticity_token=4xE7u4LlVDPtwongyZjsVtW1TO4Ev2pUFeGCOZaKm0dA1PnVWJXhfUg%2BrRdET%2BL90pP6eNZE59mu8y4I0jsSGg%3D%3D" for ::1 at 2016-08-30 09:51:18 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"4xE7u4LlVDPtwongyZjsVtW1TO4Ev2pUFeGCOZaKm0dA1PnVWJXhfUg+rRdET+L90pP6eNZE59mu8y4I0jsSGg==", "id"=>"3"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 3]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 3]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (18.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.8ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 3]] - Pulitzer::FreeFormSectionType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 3]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 3], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (127.9ms) -Completed 200 OK in 159ms (Views: 152.5ms | ActiveRecord: 0.9ms) - - -Started GET "/pulitzer/post_types" for ::1 at 2016-08-30 09:51:22 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 63ms (Views: 62.4ms | ActiveRecord: 0.0ms) - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:22 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g=="} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (3.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (27.9ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (21.8ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (18.9ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (18.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (187.7ms) -Completed 200 OK in 227ms (Views: 225.4ms | ActiveRecord: 0.7ms) - - -Started GET "/pulitzer/post_types/1/edit?authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:25 -0500 -Processing by Pulitzer::PostTypesController#edit as */* - Parameters: {"authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g==", "id"=>"1"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form_fields.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form.html.erb (34.2ms) -Completed 200 OK in 53ms (Views: 52.2ms | ActiveRecord: 0.1ms) - - -Started GET "/pulitzer/post_types/1?authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:27 -0500 -Processing by Pulitzer::PostTypesController#show as */* - Parameters: {"authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g==", "id"=>"1"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.8ms) -Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.6ms) - - -Started GET "/pulitzer/post_types/4/edit?authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:28 -0500 -Processing by Pulitzer::PostTypesController#edit as */* - Parameters: {"authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form_fields.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form.html.erb (38.0ms) -Completed 200 OK in 58ms (Views: 57.3ms | ActiveRecord: 0.1ms) - - -Started GET "/pulitzer/post_types/4?authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:30 -0500 -Processing by Pulitzer::PostTypesController#show as */* - Parameters: {"authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g==", "id"=>"4"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.4ms) -Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/post_types/3/edit?authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:33 -0500 -Processing by Pulitzer::PostTypesController#edit as */* - Parameters: {"authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g==", "id"=>"3"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form_fields.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form.html.erb (35.3ms) -Completed 200 OK in 52ms (Views: 50.6ms | ActiveRecord: 0.1ms) - - -Started GET "/pulitzer/post_types/3?authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:34 -0500 -Processing by Pulitzer::PostTypesController#show as */* - Parameters: {"authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g==", "id"=>"3"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 3]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.3ms) -Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.2ms) - - -Started GET "/pulitzer/post_types/2/edit?authenticity_token=QBvV%2BnNsQukNlqr47bR5t8nu%2FDtt7TcnQeaZ%2FNugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs%2Bg%3D%3D" for ::1 at 2016-08-30 09:51:36 -0500 -Processing by Pulitzer::PostTypesController#edit as */* - Parameters: {"authenticity_token"=>"QBvV+nNsQukNlqr47bR5t8nu/Dtt7TcnQeaZ/NugJafj3heUqRz3p6hqjg9gY3cczshKrb8Wuqr69DXNnxGs+g==", "id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form_fields.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form.html.erb (35.8ms) -Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.1ms) - - -Started PATCH "/pulitzer/post_types/2" for ::1 at 2016-08-30 09:51:38 -0500 -Processing by Pulitzer::PostTypesController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"AC2D2CZTh0rB96tELPy/c/+7t1ZhSSLp+VOYgsYreUSj6EG2/CMyBGQLj7OhK7HY+J0BwLOyr2RCQTSzgprwGQ==", "post_type"=>{"name"=>"pepe", "kind"=>"template", "plural"=>"1"}, "commit"=>"Update", "id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.4ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction - SQL (0.3ms) UPDATE "pulitzer_post_types" SET "plural" = ?, "updated_at" = ? WHERE "pulitzer_post_types"."id" = ? [["plural", "t"], ["updated_at", "2016-08-30 14:51:38.484112"], ["id", 2]] -  (607.7ms) commit transaction - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.2ms) -Completed 200 OK in 634ms (Views: 22.4ms | ActiveRecord: 608.1ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 09:51:40 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (4.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (8.3ms) -Completed 200 OK in 72ms (Views: 70.6ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:51:42 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (3.1ms) -Completed 200 OK in 62ms (Views: 61.1ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/versions/2/edit?authenticity_token=sTZBjZbpGIMpTCk1QfuhApC1eQev8WWRMuk%2Fw60g4EgS84PjTJmtzYywDcLMLK%2Bpl5PPkX0K6ByJ%2B5Py6ZFpFQ%3D%3D" for ::1 at 2016-08-30 09:51:42 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"sTZBjZbpGIMpTCk1QfuhApC1eQev8WWRMuk/w60g4EgS84PjTJmtzYywDcLMLK+pl5PPkX0K6ByJ+5Py6ZFpFQ==", "id"=>"2"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (55.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.5ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.0ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (198.5ms) -Completed 200 OK in 245ms (Views: 237.5ms | ActiveRecord: 1.0ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 09:51:47 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (2.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (6.1ms) -Completed 200 OK in 70ms (Views: 68.2ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:51:49 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (1.9ms) -Completed 200 OK in 71ms (Views: 70.1ms | ActiveRecord: 0.2ms) - - -Started GET "/pulitzer/versions/2/edit?authenticity_token=1arid0CFhgYFOKCbnGXSkOzcs4rGB406LgsxmPtfFqx2byAZmvUzSKDEhGwRstw76%2FoFHBT8ALeVGZ2pv%2B6f8Q%3D%3D" for ::1 at 2016-08-30 09:51:49 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"1arid0CFhgYFOKCbnGXSkOzcs4rGB406LgsxmPtfFqx2byAZmvUzSKDEhGwRstw76/oFHBT8ALeVGZ2pv+6f8Q==", "id"=>"2"} - Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (35.0ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (22.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (29.5ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (181.0ms) -Completed 200 OK in 224ms (Views: 208.4ms | ActiveRecord: 1.7ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 09:51:51 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (4.9ms) -Completed 200 OK in 64ms (Views: 63.1ms | ActiveRecord: 0.2ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 09:52:26 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (5.2ms) -Completed 200 OK in 61ms (Views: 59.9ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 09:52:26 -0500 - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:52:29 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.1ms) -Completed 200 OK in 53ms (Views: 51.9ms | ActiveRecord: 0.2ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 09:52:29 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 09:52:30 -0500 - - -Started GET "/pulitzer/versions/2/edit?authenticity_token=8zSVasyjmOSk9Y2qDL9vYzCPv8O0hCfL9MslfaS9e%2FpQ8VcEFtMtqgEJqV2BaGHIN6kJVWZ%2FqkZP2YlM4Azypw%3D%3D" for ::1 at 2016-08-30 09:52:30 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"8zSVasyjmOSk9Y2qDL9vYzCPv8O0hCfL9MslfaS9e/pQ8VcEFtMtqgEJqV2BaGHIN6kJVWZ/qkZP2YlM4Azypw==", "id"=>"2"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (72009.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (72028.0ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (18.6ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.6ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (72144.2ms) -Completed 200 OK in 72165ms (Views: 72162.4ms | ActiveRecord: 0.9ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:53:45 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} -Completed 500 Internal Server Error in 1ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.6ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:54:14 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (9.4ms) -Completed 500 Internal Server Error in 98ms - -SyntaxError (/Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/post_type.rb:40: syntax error, unexpected keyword_end, expecting end-of-input): - /Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/post_type.rb:40: syntax error, unexpected keyword_end, expecting end-of-input - activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' - activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' - activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' - activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' - activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' - activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' - activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' - activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant' - activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:304:in `safe_constantize' - activesupport (4.2.0) lib/active_support/dependencies.rb:572:in `safe_get' - activesupport (4.2.0) lib/active_support/dependencies.rb:603:in `safe_constantize' - activerecord (4.2.0) lib/active_record/inheritance.rb:154:in `block in compute_type' - activerecord (4.2.0) lib/active_record/inheritance.rb:153:in `each' - activerecord (4.2.0) lib/active_record/inheritance.rb:153:in `compute_type' - activerecord (4.2.0) lib/active_record/reflection.rb:271:in `compute_class' - activerecord (4.2.0) lib/active_record/reflection.rb:267:in `klass' - activerecord (4.2.0) lib/active_record/reflection.rb:505:in `automatic_inverse_of' - activerecord (4.2.0) lib/active_record/reflection.rb:494:in `block in inverse_name' - activerecord (4.2.0) lib/active_record/reflection.rb:490:in `fetch' - activerecord (4.2.0) lib/active_record/reflection.rb:490:in `inverse_name' - activerecord (4.2.0) lib/active_record/reflection.rb:387:in `has_inverse?' - activerecord (4.2.0) lib/active_record/reflection.rb:336:in `check_validity_of_inverse!' - activerecord (4.2.0) lib/active_record/reflection.rb:331:in `check_validity!' - activerecord (4.2.0) lib/active_record/associations/association.rb:25:in `initialize' - activerecord (4.2.0) lib/active_record/associations.rb:161:in `new' - activerecord (4.2.0) lib/active_record/associations.rb:161:in `association' - activerecord (4.2.0) lib/active_record/associations/builder/association.rb:115:in `post_type' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb:4:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_posts_edit_html_erb__87134930425051377_70230991775760' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (22.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (95.2ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:54:42 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.6ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:55:24 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (12.0ms) -Completed 500 Internal Server Error in 101ms - -SyntaxError (/Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/post_type.rb:40: syntax error, unexpected keyword_end, expecting end-of-input): - /Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/post_type.rb:40: syntax error, unexpected keyword_end, expecting end-of-input - activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' - activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' - activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' - activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' - activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' - activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' - activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' - activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant' - activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:304:in `safe_constantize' - activesupport (4.2.0) lib/active_support/dependencies.rb:572:in `safe_get' - activesupport (4.2.0) lib/active_support/dependencies.rb:603:in `safe_constantize' - activerecord (4.2.0) lib/active_record/inheritance.rb:154:in `block in compute_type' - activerecord (4.2.0) lib/active_record/inheritance.rb:153:in `each' - activerecord (4.2.0) lib/active_record/inheritance.rb:153:in `compute_type' - activerecord (4.2.0) lib/active_record/reflection.rb:271:in `compute_class' - activerecord (4.2.0) lib/active_record/reflection.rb:267:in `klass' - activerecord (4.2.0) lib/active_record/reflection.rb:505:in `automatic_inverse_of' - activerecord (4.2.0) lib/active_record/reflection.rb:494:in `block in inverse_name' - activerecord (4.2.0) lib/active_record/reflection.rb:490:in `fetch' - activerecord (4.2.0) lib/active_record/reflection.rb:490:in `inverse_name' - activerecord (4.2.0) lib/active_record/reflection.rb:387:in `has_inverse?' - activerecord (4.2.0) lib/active_record/reflection.rb:336:in `check_validity_of_inverse!' - activerecord (4.2.0) lib/active_record/reflection.rb:331:in `check_validity!' - activerecord (4.2.0) lib/active_record/associations/association.rb:25:in `initialize' - activerecord (4.2.0) lib/active_record/associations.rb:161:in `new' - activerecord (4.2.0) lib/active_record/associations.rb:161:in `association' - activerecord (4.2.0) lib/active_record/associations/builder/association.rb:115:in `post_type' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb:4:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_posts_edit_html_erb__1551106810041695766_70318834458980' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (68.6ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:56:10 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (10.9ms) -Completed 500 Internal Server Error in 97ms - -SyntaxError (/Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/post_type.rb:39: syntax error, unexpected keyword_end, expecting end-of-input): - /Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/post_type.rb:39: syntax error, unexpected keyword_end, expecting end-of-input - activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' - activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' - activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' - activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' - activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' - activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' - activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' - activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant' - activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' - activesupport (4.2.0) lib/active_support/inflector/methods.rb:304:in `safe_constantize' - activesupport (4.2.0) lib/active_support/dependencies.rb:572:in `safe_get' - activesupport (4.2.0) lib/active_support/dependencies.rb:603:in `safe_constantize' - activerecord (4.2.0) lib/active_record/inheritance.rb:154:in `block in compute_type' - activerecord (4.2.0) lib/active_record/inheritance.rb:153:in `each' - activerecord (4.2.0) lib/active_record/inheritance.rb:153:in `compute_type' - activerecord (4.2.0) lib/active_record/reflection.rb:271:in `compute_class' - activerecord (4.2.0) lib/active_record/reflection.rb:267:in `klass' - activerecord (4.2.0) lib/active_record/reflection.rb:505:in `automatic_inverse_of' - activerecord (4.2.0) lib/active_record/reflection.rb:494:in `block in inverse_name' - activerecord (4.2.0) lib/active_record/reflection.rb:490:in `fetch' - activerecord (4.2.0) lib/active_record/reflection.rb:490:in `inverse_name' - activerecord (4.2.0) lib/active_record/reflection.rb:387:in `has_inverse?' - activerecord (4.2.0) lib/active_record/reflection.rb:336:in `check_validity_of_inverse!' - activerecord (4.2.0) lib/active_record/reflection.rb:331:in `check_validity!' - activerecord (4.2.0) lib/active_record/associations/association.rb:25:in `initialize' - activerecord (4.2.0) lib/active_record/associations.rb:161:in `new' - activerecord (4.2.0) lib/active_record/associations.rb:161:in `association' - activerecord (4.2.0) lib/active_record/associations/builder/association.rb:115:in `post_type' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb:4:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_posts_edit_html_erb__3736828730575725859_70190320647720' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' - actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (67.3ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:56:37 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.5ms) - - -Started GET "/manage/reservations/1803196?reservation_tab=reservation_details" for ::1 at 2016-08-30 09:56:51 -0500 - -ActionController::RoutingError (No route matches [GET] "/manage/reservations/1803196"): - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (8.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (444.4ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 09:56:52 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (58.7ms) -Completed 200 OK in 325ms (Views: 202.2ms | ActiveRecord: 3.6ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 09:56:52 -0500 - - -Started GET "/pulitzer/versions/2/edit?authenticity_token=YFK1uWI7STbCK5gdiiNlWD1bAk2VT7RjhVk8K9rdaxHDl3fXuEv8eGfXvOoH9GvzOn2020e0Oe4%2BS5AanmziTA%3D%3D" for ::1 at 2016-08-30 09:56:53 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"YFK1uWI7STbCK5gdiiNlWD1bAk2VT7RjhVk8K9rdaxHDl3fXuEv8eGfXvOoH9GvzOn2020e0Oe4+S5AanmziTA==", "id"=>"2"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (311688.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (311716.5ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (6.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (24.9ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.0ms) - Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (8.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (311900.2ms) -Completed 200 OK in 312142ms (Views: 311939.2ms | ActiveRecord: 2.2ms) - - -Started GET "/manage/reservations/1803196?reservation_tab=reservation_details" for ::1 at 2016-08-30 10:02:05 -0500 - -ActionController::RoutingError (No route matches [GET] "/manage/reservations/1803196"): - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.4ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (113.9ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 10:02:05 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.9ms) - - -Started GET "/manage/reservations/1803196?reservation_tab=reservation_details" for ::1 at 2016-08-30 10:02:16 -0500 - -ActionController::RoutingError (No route matches [GET] "/manage/reservations/1803196"): - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (121.1ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 10:02:17 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (67.3ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 10:03:05 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (4.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (23.4ms) -Completed 200 OK in 268ms (Views: 168.0ms | ActiveRecord: 3.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:07 -0500 - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 10:03:09 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (22.9ms) -Completed 200 OK in 78ms (Views: 75.6ms | ActiveRecord: 0.6ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:09 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:09 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:09 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:09 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:10 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:10 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:10 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:10 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:10 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:10 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:10 -0500 - - -Started GET "/pulitzer/versions/2/edit?authenticity_token=fiH80HhLFA5Z49%2BVQa3w7zIP2haqql8KxwCo5cqkAI3d5D6%2BojuhQPwf%2B2LMev5ENSlsgHhR0od8EgTUjhWJ0A%3D%3D" for ::1 at 2016-08-30 10:03:10 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"fiH80HhLFA5Z49+VQa3w7zIP2haqql8KxwCo5cqkAI3d5D6+ojuhQPwf+2LMev5ENSlsgHhR0od8EgTUjhWJ0A==", "id"=>"2"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (22.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (24.7ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (18.6ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (8.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (182.8ms) -Completed 200 OK in 340ms (Views: 201.1ms | ActiveRecord: 2.0ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 10:03:13 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (2.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (6.4ms) -Completed 200 OK in 71ms (Views: 69.8ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:14 -0500 - - -Started GET "/pulitzer/post_types" for ::1 at 2016-08-30 10:03:15 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (0.8ms) -Completed 200 OK in 56ms (Views: 55.5ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=U3FPOn99tcTiInr27bdKw2hogA346DSHD0wSP4xuSQnwtI1UpQ0AikfeXgFgYERob042myoTuQq0Xr4OyN%2FAVA%3D%3D" for ::1 at 2016-08-30 10:03:16 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"U3FPOn99tcTiInr27bdKw2hogA346DSHD0wSP4xuSQnwtI1UpQ0AikfeXgFgYERob042myoTuQq0Xr4OyN/AVA=="} - Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (11.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (35.0ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (19.6ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (21.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (24.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (196.1ms) -Completed 200 OK in 233ms (Views: 231.0ms | ActiveRecord: 1.3ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-08-30 10:03:17 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (3.3ms) -Completed 200 OK in 56ms (Views: 55.0ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:18 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=mPUJzQZBibqd3OuBYTirXoAB1zC6cgaZCvKdnGsSEuw7MMuj3DE89Dggz3bs76X1hydhpmiJixSx4DGtL6ObsQ%3D%3D" for ::1 at 2016-08-30 10:03:18 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"mPUJzQZBibqd3OuBYTirXoAB1zC6cgaZCvKdnGsSEuw7MMuj3DE89Dggz3bs76X1hydhpmiJixSx4DGtL6ObsQ==", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (20.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.1ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.0ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (5.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (167.1ms) -Completed 200 OK in 193ms (Views: 187.9ms | ActiveRecord: 1.0ms) - - -Started GET "/pulitzer/post_types" for ::1 at 2016-08-30 10:03:21 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 62ms (Views: 61.4ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:21 -0500 - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=1xTNonawM7PXu9r0Qd48KA3iqM%2Bzs4gF8lmPCnTQE6p00Q%2FMrMCG%2FXJH%2FgPMCTKDCsQeWWFIBYhJSyM7MGGa9w%3D%3D" for ::1 at 2016-08-30 10:03:21 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"1xTNonawM7PXu9r0Qd48KA3iqM+zs4gF8lmPCnTQE6p00Q/MrMCG/XJH/gPMCTKDCsQeWWFIBYhJSyM7MGGa9w=="} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (21.8ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (36.0ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (20.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (19.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (202.0ms) -Completed 200 OK in 240ms (Views: 238.1ms | ActiveRecord: 0.5ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 10:03:24 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (5.6ms) -Completed 200 OK in 73ms (Views: 71.5ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:29 -0500 - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 10:03:33 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.4ms) -Completed 200 OK in 59ms (Views: 57.3ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:34 -0500 - - -Started GET "/pulitzer/versions/2/edit?authenticity_token=%2BNq0zNlU3cXkru5%2Bs%2Bb70LZF6ZgZDNNeBJ2YWjcGdhFbH3aiAyRoi0FSyok%2BMfV7sWNfDsv3XtO%2FjzRrc7f%2FTA%3D%3D" for ::1 at 2016-08-30 10:03:34 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"+Nq0zNlU3cXkru5+s+b70LZF6ZgZDNNeBJ2YWjcGdhFbH3aiAyRoi0FSyok+MfV7sWNfDsv3XtO/jzRrc7f/TA==", "id"=>"2"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (18.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (24.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.2ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (1.3ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (150.1ms) -Completed 200 OK in 172ms (Views: 166.2ms | ActiveRecord: 2.0ms) - - -Started GET "/pulitzer/posts?post_type_id=2" for ::1 at 2016-08-30 10:03:37 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"2"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 2 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (6.7ms) -Completed 200 OK in 56ms (Views: 55.4ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:03:37 -0500 - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 10:05:43 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.4ms) - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 10:06:04 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (55.0ms) -Completed 200 OK in 251ms (Views: 193.6ms | ActiveRecord: 2.6ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:06:05 -0500 - - -Started GET "/pulitzer/versions/2/edit?authenticity_token=e%2Fr9%2FL9UiMtfBgbi3GasdSMOsOAzHWM1A9MvZvx0TxjYPz%2BSZSQ9hfr6IhVRsaLeJCgGduHm7ri4wYNXuMXGRQ%3D%3D" for ::1 at 2016-08-30 10:06:07 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"e/r9/L9UiMtfBgbi3GasdSMOsOAzHWM1A9MvZvx0TxjYPz+SZSQ9hfr6IhVRsaLeJCgGduHm7ri4wYNXuMXGRQ==", "id"=>"2"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (18.4ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (6.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (18.4ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (5.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (162.4ms) -Completed 200 OK in 308ms (Views: 181.5ms | ActiveRecord: 1.9ms) - - -Started PATCH "/pulitzer/versions/2" for ::1 at 2016-08-30 10:06:11 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"oGWmFLs1AJeNOlG5yFOVv1xAuOcZoM7gqKXEwBk3Q1ADoGR6YUW12SjGdU5FhJsUW2YOcctbQ20Tt2jxXYbKDQ==", "commit"=>"Activate", "status"=>"active", "id"=>"2"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] +  (0.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerPostTags (20150619213457) +  (0.1ms) begin transaction +  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]] +  (0.9ms) commit transaction +Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832) +  (0.1ms) begin transaction +  (1.8ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean +  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]] +  (0.8ms) commit transaction +Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction - SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-08-30 15:06:21.573009"], ["id", 2]] -  (474.7ms) commit transaction - Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 + SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-05-11 18:39:29.746442"], ["updated_at", "2016-05-11 18:39:29.746442"]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-05-11 18:39:29.749178"], ["updated_at", "2016-05-11 18:39:29.749178"]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-11 18:39:29.750811"], ["updated_at", "2016-05-11 18:39:29.750811"]] + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]] +  (0.8ms) commit transaction +Migrating to AddSlugToPulitzerPosts (20150724150230) +  (0.1ms) begin transaction +  (0.7ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar +  (0.1ms) select sqlite_version(*) +  (0.4ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]] +  (2.4ms) commit transaction +Migrating to CreateSearchLocations (20150901153531) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]] +  (2.9ms) commit transaction +Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741) +  (0.1ms) begin transaction +  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.0ms) SELECT * FROM "pulitzer_post_tags" +  (0.3ms) DROP TABLE "pulitzer_post_tags" +  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) SELECT * FROM "apulitzer_post_tags" +  (0.3ms) DROP TABLE "apulitzer_post_tags" + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]] +  (1.0ms) commit transaction +Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 2], ["created_at", "2016-08-30 15:06:22.066247"], ["updated_at", "2016-08-30 15:06:22.066247"]] +  (0.5ms) 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 (1.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]] +  (1.1ms) commit transaction +Migrating to CreatePulitzerVersions (20151029194354) +  (0.1ms) begin transaction +  (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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]] +  (2.9ms) commit transaction +Migrating to ChangePostElementsToVersions (20151029220558) +  (0.1ms) begin transaction +  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) SELECT * FROM "pulitzer_content_elements" +  (0.2ms) DROP TABLE "pulitzer_content_elements" +  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) SELECT * FROM "apulitzer_content_elements" +  (0.1ms) DROP TABLE "apulitzer_content_elements" +  (0.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) SELECT * FROM "pulitzer_post_tags" +  (1.0ms) DROP TABLE "pulitzer_post_tags" +  (0.7ms) 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.3ms) SELECT * FROM "apulitzer_post_tags" +  (0.4ms) DROP TABLE "apulitzer_post_tags" + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]] +  (1.0ms) commit transaction +Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100 +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100 +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer +Scoped order and limit are ignored, it's forced to be batch order and batch size + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.7ms) commit transaction -[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 246c8334-c147-4476-8d6a-6baeda66eed9) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 -[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Pulitzer::CloneVersion !!! -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] bin/rails -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-08-30 15:06:22.149182"], ["id", 5]] -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9]  (0.6ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [246c8334-c147-4476-8d6a-6baeda66eed9] Performed Pulitzer::CloneVersionJob from Inline(default) in 51.01ms - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 5]] - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (18.7ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 5], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (105.7ms) -Completed in 10891ms - - -Started GET "/pulitzer/posts/pepe/edit" for ::1 at 2016-08-30 10:07:34 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"pepe"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "pepe"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (53.6ms) -Completed 200 OK in 251ms (Views: 190.1ms | ActiveRecord: 4.7ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-08-30 10:07:34 -0500 - - -Started GET "/pulitzer/versions/5/edit?authenticity_token=4X5ZpuQBvvq1T%2BY72pwjyfHksiTmGIodVL7K%2FhqzcAhCu5vIPnELtBCzwsxXSy1i9sIEsjTjB5DvrGbPXgL5VQ%3D%3D" for ::1 at 2016-08-30 10:07:34 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"4X5ZpuQBvvq1T+Y72pwjyfHksiTmGIodVL7K/hqzcAhCu5vIPnELtBCzwsxXSy1i9sIEsjTjB5DvrGbPXgL5VQ==", "id"=>"5"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 5]] - Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (17.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 5], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (22.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 5], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (18.0ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (169.0ms) -Completed 200 OK in 423ms (Views: 201.1ms | ActiveRecord: 2.5ms) - - -Started PATCH "/pulitzer/versions/5" for ::1 at 2016-08-30 10:07:37 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"boJCDULOmpFCjX3idTtTkk/7dfifGVHG8bP8JsHLeObNR4BjmL4v3+dxWRX47F05SN3Dbk3i3EtKoVAXhXrxuw==", "commit"=>"Activate", "status"=>"active", "id"=>"5"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 5]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] -  (0.1ms) begin transaction -  (0.1ms) rollback transaction -{:post_id=>["can't be blank"]} - Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 5], ["label_type", "Pulitzer::Tag"]] -  (0.0ms) begin transaction - SQL (1.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", "2016-08-30 15:08:38.664535"], ["id", 2]] -  (384.7ms) commit transaction -  (0.1ms) begin transaction - SQL (0.6ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 2], ["created_at", "2016-08-30 15:08:39.056543"], ["updated_at", "2016-08-30 15:08:39.056543"]] -  (0.9ms) commit transaction -[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 70d50579-914a-4110-85c7-b04fd3dacad8) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/5 -[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 5]] -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/5 -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] Pulitzer::CloneVersion !!! -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] bin/rails -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] 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", 5]] -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-08-30 15:08:39.143732"], ["id", 6]] -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8]  (795.5ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [70d50579-914a-4110-85c7-b04fd3dacad8] Performed Pulitzer::CloneVersionJob from Inline(default) in 842.25ms - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 6]] - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.7ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 6], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 6], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.7ms) - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 2]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 2], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (133.9ms) -Completed 200 OK in 62746ms (Views: 0.4ms | ActiveRecord: 1186.1ms) - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910) +Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction -  (0.2ms) ALTER TABLE "required" ADD "pulitzer_post_type_content_element_types" boolean DEFAULT 'false' -SQLite3::SQLException: no such table: required: ALTER TABLE "required" ADD "pulitzer_post_type_content_element_types" boolean DEFAULT 'false' -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910) +  (0.4ms) 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.2ms) SELECT * FROM "pulitzer_post_types" +  (0.8ms) DROP TABLE "pulitzer_post_types" +  (0.2ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean) +  (0.0ms) SELECT * FROM "apulitzer_post_types" +  (0.1ms) DROP TABLE "apulitzer_post_types" +  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]] +  (0.7ms) commit transaction +Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction -  (104.0ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]] +  (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 - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddErrorsToVersion (20160122204201) +  (0.1ms) begin transaction +  (0.6ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]] +  (0.7ms) 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' + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - -Started GET "/pulitzer" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/pulitzer" for ::1 at 2016-05-20 13:59:46 -0600 + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (3.7ms) -Completed 200 OK in 210ms (Views: 208.3ms | ActiveRecord: 0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 411ms (Views: 409.1ms | ActiveRecord: 0.0ms) -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/application-2057cc134437d2a378b92e4d575e8a4a.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/pulitzer-c9bbd5abe46f01f06a16fea87c66b734.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/select2-3dd5f7c039d1d49a7a5971e99aa4aa60.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/thin_man-da7569df64068b77b371e6287ce0d1a2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/pulitzer-33af45d7375ad91993093cee313a88cf.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/select2-c10dbdbc4d97fc8adbad2bb987ca61c8.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 11:25:51 -0500 +Started GET "/assets/application-020d978092bb3eeec19daa73739b9a9c.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=f1maf0kH7e%2FuCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA%3D%3D" for ::1 at 2016-09-27 11:25:52 -0500 +Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC%2BY2%2ByLs1ZAna%2FPNDAdkah4uEYW3WDg%2FvcMSdnMR7jkLw%3D%3D" for ::1 at 2016-05-20 13:59:48 -0600 Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"f1maf0kH7e/uCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA=="} - Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (37.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (53.3ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (17.2ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (16.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (16.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (175.4ms) -Completed 200 OK in 1190ms (Views: 194.0ms | ActiveRecord: 3.4ms) - - -Started GET "/pulitzer/post_types/4/template?authenticity_token=f1maf0kH7e%2FuCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA%3D%3D" for ::1 at 2016-09-27 11:25:57 -0500 -Processing by Pulitzer::PostTypesController#template as */* - Parameters: {"authenticity_token"=>"f1maf0kH7e/uCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA==", "id"=>"4"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.2ms) - Pulitzer::PostTypeContentElementType Load (0.2ms) 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", 4]] - 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", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_template.html.erb (30.1ms) -Completed 200 OK in 1306ms (Views: 46.7ms | ActiveRecord: 0.9ms) - - -Started GET "/pulitzer/post_type_content_element_types/new?post_type_id=4&authenticity_token=f1maf0kH7e%2FuCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA%3D%3D" for ::1 at 2016-09-27 11:26:01 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#new as */* - Parameters: {"post_type_id"=>"4", "authenticity_token"=>"f1maf0kH7e/uCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA=="} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (25.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_new.html.erb (901.4ms) -Completed 200 OK in 926ms (Views: 918.9ms | ActiveRecord: 0.9ms) - - -Started GET "/pulitzer/post_type_content_element_types/new?post_type_id=4&authenticity_token=f1maf0kH7e%2FuCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA%3D%3D" for ::1 at 2016-09-27 11:33:05 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#new as */* - Parameters: {"post_type_id"=>"4", "authenticity_token"=>"f1maf0kH7e/uCkTo77xu7hDkM4qo4rhgQQpnOvzmOn3cnFgRk3dYoUv2YB9ia2BFF8KFHHoZNe36GMsLuFezIA=="} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (351.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_new.html.erb (367.9ms) -Completed 500 Internal Server Error in 388ms - -ActionView::Template::Error (undefined method `checkbox' for #<ActionView::Helpers::FormBuilder:0x007ff4659782c0>): - 20: </div> - 21: - 22: <%= f.label :required %> - 23: <%= f.checkbox :required %> - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb:23:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_post_type_content_element_types__form_fields_html_erb__694141995810506527_70343826561520' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_new.html.erb:2:in `block in ___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_post_type_content_element_types__new_html_erb__2246739549037835354_70343843782300' - actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' - actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' - actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' - actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_new.html.erb:1:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_post_type_content_element_types__new_html_erb__2246739549037835354_70343843782300' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/post_type_content_element_types_controller.rb:7:in `new' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (32.0ms) - - -Started GET "/pulitzer?tab=templates" for ::1 at 2016-09-27 11:33:36 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Parameters: {"tab"=>"templates"} - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 75ms (Views: 74.7ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 11:33:36 -0500 - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:33:36 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g=="} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (3.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (30.4ms) - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (3.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (26.9ms) - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (3.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (46.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (21.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (241.7ms) -Completed 200 OK in 270ms (Views: 268.8ms | ActiveRecord: 0.6ms) - - -Started GET "/pulitzer/post_types/4/template?authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:33:40 -0500 -Processing by Pulitzer::PostTypesController#template as */* - Parameters: {"authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.2ms) - 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", 4]] - 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", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_template.html.erb (25.2ms) -Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/post_type_content_element_types/new?post_type_id=4&authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:33:41 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#new as */* - Parameters: {"post_type_id"=>"4", "authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g=="} - Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (131.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_new.html.erb (151.1ms) -Completed 200 OK in 171ms (Views: 168.7ms | ActiveRecord: 0.7ms) - - -Started GET "/pulitzer/post_type_content_element_types/new?post_type_id=4&authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:34:09 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#new as */* - Parameters: {"post_type_id"=>"4", "authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g=="} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (4.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_new.html.erb (20.7ms) -Completed 200 OK in 38ms (Views: 35.7ms | ActiveRecord: 0.4ms) - - -Started POST "/pulitzer/post_type_content_element_types" for ::1 at 2016-09-27 11:34:21 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#create as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"kO0EvSUn+kiy9RSERPyZfWC/7dAi1Lb2KwOIYLK9NskzKMbT/1dPBhcJMHPJK5fWZ5lbRvAvO3uQESRR9gy/lA==", "post_type_content_element_type"=>{"label"=>"new one", "content_element_type_id"=>"1", "post_type_id"=>"4", "text_editor"=>"None", "required"=>"1"}, "commit"=>"Create"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "text_editor", "required", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "new one"], ["content_element_type_id", 1], ["post_type_id", 4], ["text_editor", "None"], ["required", "t"], ["created_at", "2016-09-27 16:34:21.300111"], ["updated_at", "2016-09-27 16:34:21.300111"]] -  (1.2ms) commit transaction - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] -  (0.1ms) begin transaction - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "text_editor", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "new one"], ["text_editor", "None"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 2], ["created_at", "2016-09-27 16:34:21.371364"], ["updated_at", "2016-09-27 16:34:21.371364"]] -  (0.6ms) commit transaction - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (26.3ms) -Completed 200 OK in 127ms (Views: 48.1ms | ActiveRecord: 4.2ms) - - -Started GET "/pulitzer/post_type_content_element_types/2/edit?authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:34:24 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#edit as */* - Parameters: {"authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g==", "id"=>"2"} - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (3.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form.html.erb (23.1ms) -Completed 200 OK in 44ms (Views: 42.5ms | ActiveRecord: 0.4ms) - - -Started GET "/pulitzer/post_type_content_element_types/2?authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:34:25 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#show as */* - Parameters: {"authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g==", "id"=>"2"} - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (1.5ms) -Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.2ms) - - -Started GET "/pulitzer/post_type_content_element_types/2/edit?authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:34:27 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#edit as */* - Parameters: {"authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g==", "id"=>"2"} - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (5.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form.html.erb (21.5ms) -Completed 200 OK in 39ms (Views: 37.2ms | ActiveRecord: 0.6ms) - - -Started PATCH "/pulitzer/post_type_content_element_types/2" for ::1 at 2016-09-27 11:34:30 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"D/3AdZnRk+DyJeLyQ7mEJgw1bdFRxmtCzkwdLYmYVQKsOAIbQ6EmrlfZxgXOboqNCxPbR4M95s91XrEczSncXw==", "post_type_content_element_type"=>{"label"=>"new one", "content_element_type_id"=>"1", "post_type_id"=>"4", "text_editor"=>"None", "required"=>"0"}, "commit"=>"Update", "id"=>"2"} - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] -  (0.1ms) begin transaction - SQL (0.7ms) UPDATE "pulitzer_post_type_content_element_types" SET "required" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["required", "f"], ["updated_at", "2016-09-27 16:34:30.080702"], ["id", 2]] -  (1772.0ms) commit transaction - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Pulitzer::ContentElement Load (0.2ms) 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", 4], ["label", "new one"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (0.9ms) -Completed 200 OK in 1817ms (Views: 17.4ms | ActiveRecord: 1774.2ms) - - -Started GET "/pulitzer/post_type_content_element_types/2/edit?authenticity_token=rzFg%2Bdh74IKDobzGEjc9KYh%2BhVlT90P06ItY%2BtLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX%2Fg%3D%3D" for ::1 at 2016-09-27 11:34:33 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#edit as */* - Parameters: {"authenticity_token"=>"rzFg+dh74IKDobzGEjc9KYh+hVlT90P06ItY+tLn3qMM9KKXAgtVzCZdmDGf4DOCj1gzz4EMznlTmfTLllZX/g==", "id"=>"2"} - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (4.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form.html.erb (21.7ms) -Completed 200 OK in 40ms (Views: 38.2ms | ActiveRecord: 0.4ms) - - -Started PATCH "/pulitzer/post_type_content_element_types/2" for ::1 at 2016-09-27 11:34:35 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rrk3742DFSBQFlVpYUTLQr2IFybklf9qbuAAXci/9GXlfPWBV/OgbvXqcZ7sk8Xpuq6hsDZucufV8qxsjA59OA==", "post_type_content_element_type"=>{"label"=>"new one", "content_element_type_id"=>"1", "post_type_id"=>"4", "text_editor"=>"None", "required"=>"1"}, "commit"=>"Update", "id"=>"2"} - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] -  (0.0ms) begin transaction - SQL (0.3ms) UPDATE "pulitzer_post_type_content_element_types" SET "required" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["required", "t"], ["updated_at", "2016-09-27 16:34:35.505500"], ["id", 2]] -  (472.3ms) commit transaction - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - 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", 4], ["label", "new one"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (0.6ms) -Completed 200 OK in 506ms (Views: 19.3ms | ActiveRecord: 473.6ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 11:34:37 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (4.9ms) -Completed 200 OK in 76ms (Views: 73.6ms | ActiveRecord: 0.5ms) - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=p2XBd0gILm9qb%2FLMd6eTJFaaJHnqho1V7PZrJPkczNEEoAMZknibIc%2BT1jv6cJ2PUbyS7zh9ANhX5McVva1FjA%3D%3D" for ::1 at 2016-09-27 11:34:37 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"p2XBd0gILm9qb/LMd6eTJFaaJHnqho1V7PZrJPkczNEEoAMZknibIc+T1jv6cJ2PUbyS7zh9ANhX5McVva1FjA==", "id"=>"4"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (16.0ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.9ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (18.2ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (20.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (37.4ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (1905.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (2955.3ms) -Completed 200 OK in 5383ms (Views: 2974.9ms | ActiveRecord: 1.7ms) - - -Started GET "/pulitzer/content_elements/2/edit?authenticity_token=p2XBd0gILm9qb%2FLMd6eTJFaaJHnqho1V7PZrJPkczNEEoAMZknibIc%2BT1jv6cJ2PUbyS7zh9ANhX5McVva1FjA%3D%3D" for ::1 at 2016-09-27 11:38:26 -0500 -Processing by Pulitzer::ContentElementsController#edit as */* - Parameters: {"authenticity_token"=>"p2XBd0gILm9qb/LMd6eTJFaaJHnqho1V7PZrJPkczNEEoAMZknibIc+T1jv6cJ2PUbyS7zh9ANhX5McVva1FjA==", "id"=>"2"} - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_text_fields.html.erb (566.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_form.html.erb (604.3ms) -Completed 200 OK in 630ms (Views: 628.4ms | ActiveRecord: 0.3ms) - - -Started GET "/pulitzer/post_types" for ::1 at 2016-09-27 11:48:29 -0500 -Processing by Pulitzer::PostTypesController#index as HTML -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.5ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-27 11:48:34 -0500 -Processing by Pulitzer::PostTypesController#index as HTML -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.5ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-27 11:48:36 -0500 -Processing by Pulitzer::PostTypesController#index as HTML -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.9ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-27 11:48:55 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.1ms) -Completed 200 OK in 136ms (Views: 135.3ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 11:48:55 -0500 - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod%2Fbj%2FpbaXadMIMIt8W910lBYYC%2BdfJH4IWkrJWTo%2Bg%3D%3D" for ::1 at 2016-09-27 11:48:55 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod/bj/pbaXadMIMIt8W910lBYYC+dfJH4IWkrJWTo+g=="} - Pulitzer::PostType Load (0.4ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (32.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (53.8ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (18.1ms) - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (17.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (0.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (20.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (209.2ms) -Completed 200 OK in 291ms (Views: 233.8ms | ActiveRecord: 3.4ms) - - -Started GET "/pulitzer/post_types/4/template?authenticity_token=y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod%2Fbj%2FpbaXadMIMIt8W910lBYYC%2BdfJH4IWkrJWTo%2Bg%3D%3D" for ::1 at 2016-09-27 11:49:29 -0500 -Processing by Pulitzer::PostTypesController#template as */* - Parameters: {"authenticity_token"=>"y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod/bj/pbaXadMIMIt8W910lBYYC+dfJH4IWkrJWTo+g==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (3.5ms) - Pulitzer::PostTypeContentElementType Load (0.2ms) 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", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (9.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (26.5ms) - 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", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_template.html.erb (86.6ms) -Completed 200 OK in 104ms (Views: 100.0ms | ActiveRecord: 1.3ms) - - -Started GET "/pulitzer/post_type_content_element_types/new?post_type_id=4&authenticity_token=y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod%2Fbj%2FpbaXadMIMIt8W910lBYYC%2BdfJH4IWkrJWTo%2Bg%3D%3D" for ::1 at 2016-09-27 11:49:31 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#new as */* - Parameters: {"post_type_id"=>"4", "authenticity_token"=>"y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod/bj/pbaXadMIMIt8W910lBYYC+dfJH4IWkrJWTo+g=="} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (19.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_new.html.erb (39.3ms) -Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 0.6ms) - - -Started POST "/pulitzer/post_type_content_element_types" for ::1 at 2016-09-27 11:49:38 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#create as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"hDCOje7d73bTeWvgsY2A7BH89g1fOaOCDUQHOr7V0Qgn9UzjNK1aOHaFTxc8Wo5HFtpAm43CLg+2VqsL+mRYVQ==", "post_type_content_element_type"=>{"label"=>"an optional field", "content_element_type_id"=>"1", "post_type_id"=>"4", "text_editor"=>"None", "required"=>"0"}, "commit"=>"Create"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "text_editor", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "an optional field"], ["content_element_type_id", 1], ["post_type_id", 4], ["text_editor", "None"], ["created_at", "2016-09-27 16:49:38.665775"], ["updated_at", "2016-09-27 16:49:38.665775"]] -  (616.1ms) commit transaction - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] -  (0.1ms) begin transaction - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "text_editor", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "an optional field"], ["text_editor", "None"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 3], ["created_at", "2016-09-27 16:49:39.363097"], ["updated_at", "2016-09-27 16:49:39.363097"]] -  (3.8ms) commit transaction - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (0.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (18.1ms) -Completed 200 OK in 755ms (Views: 48.6ms | ActiveRecord: 622.0ms) - - -Started GET "/pulitzer/post_type_content_element_types/2/edit?authenticity_token=y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod%2Fbj%2FpbaXadMIMIt8W910lBYYC%2BdfJH4IWkrJWTo%2Bg%3D%3D" for ::1 at 2016-09-27 11:49:40 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#edit as */* - Parameters: {"authenticity_token"=>"y7I0jSTmbxMCsAQ1oCZh3tV27vb9ZvEcQzPFGmHVYadod/bj/pbaXadMIMIt8W910lBYYC+dfJH4IWkrJWTo+g==", "id"=>"2"} - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (3.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form.html.erb (20.1ms) -Completed 200 OK in 38ms (Views: 36.6ms | ActiveRecord: 0.5ms) - - -Started PATCH "/pulitzer/post_type_content_element_types/2" for ::1 at 2016-09-27 11:49:47 -0500 -Processing by Pulitzer::PostTypeContentElementTypesController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"BugU/gcbimLoQXoDAkk8v5sZiWuVgovHEI+/0lYpaC2lLdaQ3Ws/LE29XvSPnjIUnD8//Ud5BkqrnRPjEpjhcA==", "post_type_content_element_type"=>{"label"=>"a required field", "content_element_type_id"=>"1", "post_type_id"=>"4", "text_editor"=>"None", "required"=>"1"}, "commit"=>"Update", "id"=>"2"} - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] -  (0.1ms) begin transaction - SQL (0.3ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "a required field"], ["updated_at", "2016-09-27 16:49:47.891791"], ["id", 2]] -  (394.7ms) commit transaction - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Pulitzer::ContentElement Load (0.2ms) 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", 4], ["label", "new one"]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["label", "a required field"], ["updated_at", "2016-09-27 16:49:48.297687"], ["id", 2]] -  (0.8ms) commit transaction - Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (0.8ms) -Completed 200 OK in 440ms (Views: 21.1ms | ActiveRecord: 397.2ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 11:49:50 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (4.8ms) -Completed 200 OK in 72ms (Views: 70.2ms | ActiveRecord: 0.4ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 11:49:50 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 11:49:50 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 11:49:50 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 11:49:50 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 11:49:51 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 11:49:51 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 11:49:51 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 11:49:51 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 11:49:51 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 11:49:51 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 11:49:51 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=cdZgUEtIl080nReAMi1Gzc3RwAZ2VFVCdgOvtk9ofGDSE6I%2BkTgiAZFhM3e%2F%2Bkhmyvd2kKSv2M%2FNEQOHC9n1PQ%3D%3D" for ::1 at 2016-09-27 11:49:51 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"cdZgUEtIl080nReAMi1Gzc3RwAZ2VFVCdgOvtk9ofGDSE6I+kTgiAZFhM3e/+khmyvd2kKSv2M/NEQOHC9n1PQ==", "id"=>"4"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (28.2ms) - Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (8.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (26.3ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.5ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (20.0ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (86.9ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (5.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (281.1ms) -Completed 200 OK in 459ms (Views: 298.9ms | ActiveRecord: 1.9ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 11:51:08 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 11:51:08 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 11:51:08 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 11:51:08 -0500 - - -Started PATCH "/pulitzer/versions/4" for ::1 at 2016-09-27 11:59:07 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"3+sSQLmMmoy1BfmUqbL7TBm8dfM4WqwWisbKshiQkBh8LtAuY/wvwhD53WMkZfXnHprDZeqhIZsx1GaDXCEZRQ==", "commit"=>"Activate", "status"=>"active", "id"=>"4"} -Completed 500 Internal Server Error in 1ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (44.0ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 12:02:18 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (53.3ms) -Completed 200 OK in 246ms (Views: 171.3ms | ActiveRecord: 2.7ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 12:02:18 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=gU0yuY%2FO9%2FqcFVlxgqDwiiBb8t9gRUWouy46TArfvT8iiPDXVb5CtDnpfYYPd%2F4hJ31ESbK%2ByCUAPJZ9Tm40Yg%3D%3D" for ::1 at 2016-09-27 12:02:18 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"gU0yuY/O9/qcFVlxgqDwiiBb8t9gRUWouy46TArfvT8iiPDXVb5CtDnpfYYPd/4hJ31ESbK+yCUAPJZ9Tm40Yg==", "id"=>"4"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (18.3ms) - Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (9.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (41.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (22.2ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (4.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (22.9ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (109.4ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (6.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (310.0ms) -Completed 200 OK in 486ms (Views: 329.5ms | ActiveRecord: 2.8ms) - - -Started PATCH "/pulitzer/versions/4" for ::1 at 2016-09-27 12:02:23 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"FnTt9m+hPq+cA7hrhLy5nb8SrBFkcfnv1T5iVb2Eh261sS+YtdGL4Tn/nJwJa7c2uDQah7aKdGJuLM5k+TUOMw==", "commit"=>"Activate", "status"=>"active", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.8ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: pulitzer_content_elements.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC -Completed 500 Internal Server Error in 47927ms - -NameError (undefined local variable or method `processing_version' for #<Pulitzer::VersionsController:0x007fd641f30948>): - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:16:in `update' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (51.3ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 12:04:00 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} -Completed 500 Internal Server Error in 1ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.9ms) - - -Started GET "/manage/owner/dashboard/new-providence-main-house" for ::1 at 2016-09-27 12:59:15 -0500 - -ActionController::RoutingError (No route matches [GET] "/manage/owner/dashboard/new-providence-main-house"): - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (19.4ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (186.3ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 12:59:16 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (39.5ms) -Completed 200 OK in 206ms (Views: 144.2ms | ActiveRecord: 2.7ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 12:59:17 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=jpE%2BsxFnDYM2tj0%2F90sAh%2FG3iXCx8NlLCJ07Onjfo9ktVPzdyxe4zZNKGch6nA4s9pE%2F5mMLVMazj5cLPG4qhA%3D%3D" for ::1 at 2016-09-27 12:59:17 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"jpE+sxFnDYM2tj0/90sAh/G3iXCx8NlLCJ07Onjfo9ktVPzdyxe4zZNKGch6nA4s9pE/5mMLVMazj5cLPG4qhA==", "id"=>"4"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (16.9ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (8.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (41.0ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.6ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (4.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (21.1ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (21.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (123.6ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (6.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (352.7ms) -Completed 200 OK in 486ms (Views: 368.8ms | ActiveRecord: 2.7ms) - - -Started PATCH "/pulitzer/versions/4" for ::1 at 2016-09-27 12:59:22 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"2ivXrgcQoKhBCEdQrRUYamtWcghMta8BXuDUg82vda957hXA3WAV5uT0Y6cgwhbBbHDEnp5OIozl8niyiR788g==", "commit"=>"Activate", "status"=>"active", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 'f' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: pulitzer_content_elements.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 'f' ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: pulitzer_content_elements.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" pulitzer_content_elements_types WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such table: pulitzer_content_elements: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" pulitzer_content_elements_types WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - Pulitzer::ContentElement Load (0.6ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: pulitzer_content_elements.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_type"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: post_type_content_element_type.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_type"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: post_type_content_element_types.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_type"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: post_type_content_element_type.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_type"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -SQLite3::SQLException: no such column: post_type_content_element_types.required: SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -Completed 500 Internal Server Error in 11979983ms - -NameError (undefined local variable or method `processing_version' for #<Pulitzer::VersionsController:0x007f8cc5500380>): - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:16:in `update' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (55.4ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 16:19:29 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (38.0ms) -Completed 200 OK in 225ms (Views: 154.0ms | ActiveRecord: 2.4ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 16:19:29 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=JSil9B8iIH5nJlZ0zXFlFH%2B5%2FApXRro08aAna5%2ByORSG7WeaxVKVMMLacoNApmu%2FeJ9KnIW9N7lKsota2wOwSQ%3D%3D" for ::1 at 2016-09-27 16:19:29 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"JSil9B8iIH5nJlZ0zXFlFH+5/ApXRro08aAna5+yORSG7WeaxVKVMMLacoNApmu/eJ9KnIW9N7lKsota2wOwSQ==", "id"=>"4"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (21.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (8.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (44.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.8ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (6.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (26.8ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (120.8ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (335.4ms) -Completed 200 OK in 510ms (Views: 353.9ms | ActiveRecord: 3.1ms) - - -Started PATCH "/pulitzer/versions/4" for ::1 at 2016-09-27 16:19:32 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"QbJKemN7+ETrRjAmndEmjN9HXktDkQ2Ff02u7Y5cfwrid4gUuQtNCk66FNEQBign2GHo3ZFqgAjEXwLcyu32Vw==", "commit"=>"Activate", "status"=>"active", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - CACHE (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - CACHE (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -Completed 500 Internal Server Error in 767330ms - -NameError (undefined local variable or method `processing_version' for #<Pulitzer::VersionsController:0x007fed6d3cbc68>): - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:16:in `update' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (50.1ms) - - -Started PATCH "/pulitzer/versions/4" for ::1 at 2016-09-27 16:49:28 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"jAgcmahUTJS5mlwwDQFkJzltywJkVhQMl+kvava6kfcvzd73ciT52hxmeMeA1mqMPkt9lLatmYEs+4NbsgsYqg==", "commit"=>"Abandon", "status"=>"abandoned", "id"=>"4"} -Completed 500 Internal Server Error in 10ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (53.5ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 16:49:36 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (54.7ms) -Completed 200 OK in 239ms (Views: 169.8ms | ActiveRecord: 2.7ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 16:49:37 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=6zBazIX3QoOJbak21HWDgXccv%2F8Bw6jXW5UYGwEd3bFI9ZiiX4f3zSyRjcFZoo0qcDoJadM4JVrgh7QqRaxU7A%3D%3D" for ::1 at 2016-09-27 16:49:37 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"6zBazIX3QoOJbak21HWDgXccv/8Bw6jXW5UYGwEd3bFI9ZiiX4f3zSyRjcFZoo0qcDoJadM4JVrgh7QqRaxU7A==", "id"=>"4"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (28.0ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (6.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (31.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.6ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (5.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (25.6ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (20.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (120.6ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (6.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (332.7ms) -Completed 200 OK in 541ms (Views: 356.5ms | ActiveRecord: 2.8ms) - - -Started PATCH "/pulitzer/versions/4" for ::1 at 2016-09-27 16:49:39 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"agiqkDhClFx+2Go8gm8fSMB0Xd6Z49WXPVEs6XfJx33JzWj+4jIhEtskTssPuBHjx1LrSEsYWBqGQ4DYM3hOIA==", "commit"=>"Abandon", "status"=>"abandoned", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] -Completed 500 Internal Server Error in 433725ms - -NameError (undefined local variable or method `processing_version' for #<Pulitzer::VersionsController:0x007ff39a24dd90>): - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:17:in `update' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (52.3ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 16:57:44 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (37.2ms) -Completed 200 OK in 231ms (Views: 157.8ms | ActiveRecord: 2.7ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 16:57:44 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 16:57:44 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 16:57:44 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 16:57:44 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 16:57:44 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 16:57:44 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 16:57:44 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 16:57:45 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 16:57:45 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 16:57:45 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 16:57:45 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=7%2BXKi0VglEaDbm8I51btClgxRxfpN1UUs9snYsmwmpNMIAjlnxAhCCaSS%2F9qgeOhXxfxgTvM2JkIyYtTjQETzg%3D%3D" for ::1 at 2016-09-27 16:57:45 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"7+XKi0VglEaDbm8I51btClgxRxfpN1UUs9snYsmwmpNMIAjlnxAhCCaSS/9qgeOhXxfxgTvM2JkIyYtTjQETzg==", "id"=>"4"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (22.5ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (7.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (28.1ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (33.6ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (4.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (24.2ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (115.5ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (10.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (336.9ms) -Completed 200 OK in 517ms (Views: 356.4ms | ActiveRecord: 2.9ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 16:57:56 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (38.8ms) -Completed 200 OK in 220ms (Views: 153.1ms | ActiveRecord: 2.8ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 16:57:56 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 16:57:57 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 16:57:57 -0500 - - -Started GET "/pulitzer/versions/4/edit?authenticity_token=RIRiUxNnS%2Fvi0TdfynwszjNA6%2BNBE9EFirsJYXq4OYPnQaA9yRf%2BtUctE6hHqyJlNGZddZPoXIgxqaVQPgmw3g%3D%3D" for ::1 at 2016-09-27 16:57:57 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"RIRiUxNnS/vi0TdfynwszjNA6+NBE9EFirsJYXq4OYPnQaA9yRf+tUctE6hHqyJlNGZddZPoXIgxqaVQPgmw3g==", "id"=>"4"} - Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (18.7ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (26.7ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (22.4ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (5.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (25.6ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (152.4ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (6.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (356.5ms) -Completed 200 OK in 554ms (Views: 386.1ms | ActiveRecord: 3.3ms) - - -Started PATCH "/pulitzer/versions/4" for ::1 at 2016-09-27 16:58:13 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPN14CxuZPIjXhSZeaH8u/Hc/J1f4lktqkOGybZV+uATNreO9h7RvIaiMG70dvIQ9vpKC40Z1KARUSr48uRzvQ==", "commit"=>"Activate", "status"=>"active", "id"=>"4"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-09-27 21:58:16.273469"], ["id", 4]] -  (377.9ms) commit transaction - Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 4], ["label_type", "Pulitzer::Tag"]] -  (0.1ms) begin transaction - SQL (0.6ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 4], ["created_at", "2016-09-27 21:58:16.683225"], ["updated_at", "2016-09-27 21:58:16.683225"]] -  (5.5ms) commit transaction -[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: cdd2c41d-462e-4698-9450-377da1c3b4db) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/4 -[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/4 -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::CloneVersion !!! -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] bin/rails -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "image", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "text_editor") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "a required field"], ["image", nil], ["post_type_content_element_type_id", 2], ["content_element_type_id", 1], ["created_at", "2016-09-27 16:34:21.371364"], ["updated_at", "2016-09-27 16:49:48.297687"], ["text_editor", "None"]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (60.0ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (0.3ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", "2016-09-27 21:58:17.059189"], ["id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (3.4ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "image", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "text_editor") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "an optional field"], ["image", nil], ["post_type_content_element_type_id", 3], ["content_element_type_id", 1], ["created_at", "2016-09-27 16:49:39.363097"], ["updated_at", "2016-09-27 16:49:39.363097"], ["text_editor", "None"]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (13.4ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", "2016-09-27 21:58:17.088697"], ["id", 5]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (7.1ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-09-27 21:58:17.109475"], ["id", 7]] -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db]  (0.7ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [cdd2c41d-462e-4698-9450-377da1c3b4db] Performed Pulitzer::CloneVersionJob from Inline(default) in 385.38ms - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 7]] - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (15.1ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 7], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 7], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (18.3ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 7], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (28.1ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (79.3ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (226.3ms) -Completed 200 OK in 4020ms (Views: 0.5ms | ActiveRecord: 475.7ms) - - -Started PATCH "/pulitzer/versions/7" for ::1 at 2016-09-27 16:58:40 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"HzSqn9hLixcksZXFNh3OhH7jPVxpQKrnv0FZb8MSuWG88WjxAjs+WYFNsTK7ysAvecWLyru7J2oEU/Veh6MwPA==", "commit"=>"Activate", "status"=>"active", "id"=>"7"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 7]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 7]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-09-27 22:00:08.336709"], ["id", 7]] -  (613.4ms) commit transaction - Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 7], ["label_type", "Pulitzer::Tag"]] -  (0.1ms) begin transaction - SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", "2016-09-27 22:00:08.955207"], ["id", 4]] -  (1.0ms) commit transaction -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 4], ["created_at", "2016-09-27 22:00:08.961989"], ["updated_at", "2016-09-27 22:00:08.961989"]] -  (0.8ms) commit transaction -[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: f652f9da-7c9b-4c6d-bed4-5bc9273f2984) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/7 -[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 7]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/7 -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Pulitzer::CloneVersion !!! -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] bin/rails -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] 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", 7]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "image", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "text_editor") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "a required field"], ["image", nil], ["post_type_content_element_type_id", 2], ["content_element_type_id", 1], ["created_at", "2016-09-27 16:34:21.371364"], ["updated_at", "2016-09-27 21:58:17.059189"], ["text_editor", "None"]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (1.3ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 8], ["updated_at", "2016-09-27 22:00:08.986944"], ["id", 6]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (0.8ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "image", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "text_editor") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "an optional field"], ["image", nil], ["post_type_content_element_type_id", 3], ["content_element_type_id", 1], ["created_at", "2016-09-27 16:49:39.363097"], ["updated_at", "2016-09-27 21:58:17.088697"], ["text_editor", "None"]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (1.2ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 8], ["updated_at", "2016-09-27 22:00:09.000596"], ["id", 7]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (1.1ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 7]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 7]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-09-27 22:00:09.008051"], ["id", 8]] -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984]  (0.7ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [f652f9da-7c9b-4c6d-bed4-5bc9273f2984] Performed Pulitzer::CloneVersionJob from Inline(default) in 45.99ms - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.8ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.1ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (75.4ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (227.7ms) -Completed 200 OK in 89182ms (Views: 0.5ms | ActiveRecord: 628.1ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-27 17:00:21 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"V6zv8fww6A3q9mhgNY8DhsnvpV1Zn52CYLwtQckMpYj0aS2fJkBdQ08KTJe4WA0tzskTy4tkEA/broFwjb0s1Q==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} -Completed 500 Internal Server Error in 1ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (57.9ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 17:00:51 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (37.8ms) -Completed 200 OK in 226ms (Views: 151.7ms | ActiveRecord: 2.9ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 17:00:51 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 17:00:52 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 17:00:52 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=vzb6BObjMgc%2FyjlPB2Y8w0CpOyFu8cH5%2B1ywSfYhAYkc8zhqPJOHSZo2HbiKsTJoR4%2BNt7wKTHRAThx4spCI1A%3D%3D" for ::1 at 2016-09-27 17:00:52 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"vzb6BObjMgc/yjlPB2Y8w0CpOyFu8cH5+1ywSfYhAYkc8zhqPJOHSZo2HbiKsTJoR4+Nt7wKTHRAThx4spCI1A==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (20.2ms) - Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (21.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (48.0ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.4ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (5.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (22.7ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (152.7ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (393.4ms) -Completed 200 OK in 577ms (Views: 414.7ms | ActiveRecord: 4.1ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-27 17:00:54 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"1sLh49IQB2AEvDS8cqBziCfzWMAYbubKSPw6DUZ/x5x1ByONCGCyLqFAEEv/d30jINXuVsqVa0fz7pY8As5OwQ==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - CACHE (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (16.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.0ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (18.5ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.0ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (70.0ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (220.3ms) -Completed 200 OK in 10953ms (Views: 0.5ms | ActiveRecord: 1.5ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 17:13:53 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.8ms) -Completed 200 OK in 60ms (Views: 58.9ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 17:13:53 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=9RQw7DfBWKwjeHNiTCo6eEJPCd%2Bk3FlGMjOK6t5yKANW0fKC7bHt4oaEV5XB%2FTTTRWm%2FSXYn1MuJISbbmsOhXg%3D%3D" for ::1 at 2016-09-27 17:13:53 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"9RQw7DfBWKwjeHNiTCo6eEJPCd+k3FlGMjOK6t5yKANW0fKC7bHt4oaEV5XB/TTTRWm/SXYn1MuJISbbmsOhXg==", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (24.4ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.1ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (21.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (40.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (72.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (233.7ms) -Completed 500 Internal Server Error in 255ms - -ActionView::Template::Error (undefined method `required?' for #<Pulitzer::ContentElementType:0x007fdaf90d02b0>): - 11: <li> - 12: <h5> - 13: <%= content_element.label %> - 14: <% if content_element.required? %> - 15: - *required - 16: <% end %> - 17: </h5> - activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' - /Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/content_element.rb:10:in `required?' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb:14:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__show_html_erb__4259145280875389896_70289228979200' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb:2:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__show_wrapper_html_erb___930205667859078564_70289182374620' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb:8:in `block in ___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__index_html_erb___4271153227630164644_70289212424580' - activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' - activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb:7:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__index_html_erb___4271153227630164644_70289212424580' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb:44:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_versions__edit_html_erb__551032642016891530_70289213753500' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - thin_man (0.14.0) lib/thin_man/ajax_responder.rb:4:in `render_ajax' - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:9:in `edit' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (31.2ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 17:14:24 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (39.1ms) -Completed 200 OK in 223ms (Views: 149.5ms | ActiveRecord: 2.8ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 17:14:24 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=r4sH5xqqwMiee5sAwB6vnwNW2r0hQdSpSGjhGbz8rCkMTsWJwNp1hjuHv%2FdNyaE0BHBsK%2FO6WSTzek0o%2BE0ldA%3D%3D" for ::1 at 2016-09-27 17:14:24 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"r4sH5xqqwMiee5sAwB6vnwNW2r0hQdSpSGjhGbz8rCkMTsWJwNp1hjuHv/dNyaE0BHBsK/O6WSTzek0o+E0ldA==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (20.4ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (7.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (51.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.3ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (24.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (40.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (104.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (305.3ms) -Completed 500 Internal Server Error in 523ms - -ActionView::Template::Error (undefined method `required?' for #<Pulitzer::ContentElementType:0x007fe7064bb960>): - 11: <li> - 12: <h5> - 13: <%= content_element.label %> - 14: <% if content_element.required? %> - 15: - *required - 16: <% end %> - 17: </h5> - activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' - /Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/content_element.rb:10:in `required?' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb:14:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__show_html_erb___872744770267870800_70315097956260' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb:2:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__show_wrapper_html_erb___43495847922968705_70315107437960' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb:8:in `block in ___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__index_html_erb__3514285044127529009_70315108108040' - activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' - activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb:7:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__index_html_erb__3514285044127529009_70315108108040' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb:44:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_versions__edit_html_erb__19583481321169612_70315109633300' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - thin_man (0.14.0) lib/thin_man/ajax_responder.rb:4:in `render_ajax' - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:9:in `edit' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (30.6ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 17:15:02 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (40.9ms) -Completed 200 OK in 226ms (Views: 153.6ms | ActiveRecord: 2.6ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 17:15:03 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=9%2B%2F5GH6rB9XJMlOTXBu2WEWgta6EDS4Bao28g1yHjtpUKjt2pNuym2zOd2TRzLjzQoYDOFb2o4zRnxCyGDYHhw%3D%3D" for ::1 at 2016-09-27 17:15:03 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"9+/5GH6rB9XJMlOTXBu2WEWgta6EDS4Bao28g1yHjtpUKjt2pNuym2zOd2TRzLjzQoYDOFb2o4zRnxCyGDYHhw==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (20.4ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.1ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.4ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (83368.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (83385.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (83476.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (83654.6ms) -Completed 500 Internal Server Error in 83863ms - -ActionView::Template::Error (undefined method `required?' for #<Pulitzer::ContentElementType:0x007fa883cdf270>): - 12: <h5> - 13: <%= content_element.label %> - 14: <% binding.pry %> - 15: <% if content_element.required? %> - 16: - *required - 17: <% end %> - 18: </h5> - activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' - /Users/gomayonqui/Sites/work/pulitzer/app/models/pulitzer/content_element.rb:10:in `required?' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb:15:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__show_html_erb__3755235402469201143_70180904994480' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb:2:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__show_wrapper_html_erb__2538643537929519031_70180905013480' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb:8:in `block in ___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__index_html_erb___3915091473085570735_70180905685540' - activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' - activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb:7:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_content_elements__index_html_erb___3915091473085570735_70180905685540' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb:44:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_versions__edit_html_erb___2962452280089441137_70180872589540' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' - activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' - thin_man (0.14.0) lib/thin_man/ajax_responder.rb:4:in `render_ajax' - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:9:in `edit' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (28.6ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-27 17:16:53 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (38.7ms) -Completed 200 OK in 230ms (Views: 160.3ms | ActiveRecord: 2.4ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-27 17:16:54 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=pHWcSiCd13ngBN8yTGcQShxTJ%2BV8BCkqrt%2Fup%2BAKRcgHsF4k%2Bu1iN0X4%2B8XBsB7hG3WRc67%2FpKcVzUKWpLvMlQ%3D%3D" for ::1 at 2016-09-27 17:16:54 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"pHWcSiCd13ngBN8yTGcQShxTJ+V8BCkqrt/up+AKRcgHsF4k+u1iN0X4+8XBsB7hG3WRc67/pKcVzUKWpLvMlQ==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (21.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (30.0ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (21.0ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (19721.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19740.2ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (4.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (22.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (19831.2ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (8.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (20078.1ms) -Completed 200 OK in 20280ms (Views: 20097.0ms | ActiveRecord: 3.0ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-28 16:33:41 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.5ms) -Completed 200 OK in 192ms (Views: 190.3ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-28 16:33:41 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-28 16:33:42 -0500 - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=LoVBoWsVfO5BjoCGwgyXTDNXoKjz5W8s1HFUXjj84wSNQIPPsWXJoORypHFP25nnNHEWPiEe4qFvY%2FhvfE1qWQ%3D%3D" for ::1 at 2016-09-28 16:33:42 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"LoVBoWsVfO5BjoCGwgyXTDNXoKjz5W8s1HFUXjj84wSNQIPPsWXJoORypHFP25nnNHEWPiEe4qFvY/hvfE1qWQ=="} - Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (30.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (48.0ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (17.7ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (16.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (0.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (19.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (179.5ms) -Completed 200 OK in 1014ms (Views: 201.4ms | ActiveRecord: 3.7ms) - - -Started GET "/pulitzer/posts/amarillo2/edit" for ::1 at 2016-09-28 16:33:46 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"amarillo2"} - Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (20.3ms) -Completed 200 OK in 82ms (Views: 78.9ms | ActiveRecord: 1.4ms) - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=Fbt5nTwRf0QyZK6mAwjJ%2BEHQi6ENmqRBu%2FJDNAxpf9C2frvz5mHKCpeYilGO38dTRvY9N99hKcwA4O8FSNj2jQ%3D%3D" for ::1 at 2016-09-28 16:33:49 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"Fbt5nTwRf0QyZK6mAwjJ+EHQi6ENmqRBu/JDNAxpf9C2frvz5mHKCpeYilGO38dTRvY9N99hKcwA4O8FSNj2jQ==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (16.9ms) - Pulitzer::PostTag Load (0.4ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (7.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (27.3ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.4ms) - Pulitzer::ContentElementType Exists (0.9ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (4.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (21.0ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (117.6ms) - Pulitzer::FreeFormSectionType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (303.1ms) -Completed 200 OK in 1465ms (Views: 322.5ms | ActiveRecord: 4.2ms) - - -Started GET "/pulitzer/post_types" for ::1 at 2016-09-28 16:33:52 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 58ms (Views: 57.6ms | ActiveRecord: 0.0ms) - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=u6ufvIXjwb6dIGYRvNh7sZysf7WU%2BOYrEUjwR6xP%2FxMYbl3SX5N08DjcQuYxD3Uam4rJI0YDa6aqWlx26P52Tg%3D%3D" for ::1 at 2016-09-28 16:33:52 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"u6ufvIXjwb6dIGYRvNh7sZysf7WU+OYrEUjwR6xP/xMYbl3SX5N08DjcQuYxD3Uam4rJI0YDa6aqWlx26P52Tg=="} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (28.3ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (20.5ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (22.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (21.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (180.2ms) -Completed 200 OK in 214ms (Views: 212.4ms | ActiveRecord: 0.5ms) - - -Started GET "/pulitzer/post_types/4/template?authenticity_token=u6ufvIXjwb6dIGYRvNh7sZysf7WU%2BOYrEUjwR6xP%2FxMYbl3SX5N08DjcQuYxD3Uam4rJI0YDa6aqWlx26P52Tg%3D%3D" for ::1 at 2016-09-28 16:33:55 -0500 -Processing by Pulitzer::PostTypesController#template as */* - Parameters: {"authenticity_token"=>"u6ufvIXjwb6dIGYRvNh7sZysf7WU+OYrEUjwR6xP/xMYbl3SX5N08DjcQuYxD3Uam4rJI0YDa6aqWlx26P52Tg==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) - Pulitzer::PostTypeContentElementType Load (0.2ms) 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", 4]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (21.3ms) - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (1.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (17.0ms) - Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_template.html.erb (106.0ms) -Completed 200 OK in 126ms (Views: 121.4ms | ActiveRecord: 0.8ms) - - -Started GET "/pulitzer/post_types/4/edit?authenticity_token=u6ufvIXjwb6dIGYRvNh7sZysf7WU%2BOYrEUjwR6xP%2FxMYbl3SX5N08DjcQuYxD3Uam4rJI0YDa6aqWlx26P52Tg%3D%3D" for ::1 at 2016-09-28 16:33:57 -0500 -Processing by Pulitzer::PostTypesController#edit as */* - Parameters: {"authenticity_token"=>"u6ufvIXjwb6dIGYRvNh7sZysf7WU+OYrEUjwR6xP/xMYbl3SX5N08DjcQuYxD3Uam4rJI0YDa6aqWlx26P52Tg==", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (3.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form_fields.html.erb (11.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_form.html.erb (52.3ms) -Completed 200 OK in 863ms (Views: 861.9ms | ActiveRecord: 0.1ms) - - -Started PATCH "/pulitzer/post_types/4" for ::1 at 2016-09-28 16:34:03 -0500 -Processing by Pulitzer::PostTypesController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"VjnbUbvflox+/mz0eUiD2osZqamDEjWaNAx8ZGGqq8j1/Bk/Ya8jwtsCSAP0n41xjD8fP1HpuBePHtBVJRsilQ==", "post_type"=>{"name"=>"Amarillo", "kind"=>"template", "plural"=>"1"}, "commit"=>"Update", "id"=>"4"} - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] -  (0.1ms) begin transaction - SQL (0.4ms) UPDATE "pulitzer_post_types" SET "plural" = ?, "updated_at" = ? WHERE "pulitzer_post_types"."id" = ? [["plural", "t"], ["updated_at", "2016-09-28 21:34:03.282205"], ["id", 4]] -  (0.6ms) commit transaction - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (0.8ms) -Completed 200 OK in 23ms (Views: 15.9ms | ActiveRecord: 1.1ms) - - -Started GET "/pulitzer/posts?post_type_id=4" for ::1 at 2016-09-28 16:34:05 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"4"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 4 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (5.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (9.8ms) -Completed 200 OK in 75ms (Views: 73.1ms | ActiveRecord: 0.4ms) - - -Started GET "/pulitzer/posts/amarillo2/edit?authenticity_token=fQ%2FMlGTSEDLsHJ%2BEyjQzJKEhm%2FTGD8W8MzFBGQ0YrX%2Feyg76vqKlfEngu3NH4z2PpgctYhT0SDGII%2B0oSakkIg%3D%3D" for ::1 at 2016-09-28 16:34:09 -0500 -Processing by Pulitzer::PostsController#edit as */* - Parameters: {"authenticity_token"=>"fQ/MlGTSEDLsHJ+EyjQzJKEhm/TGD8W8MzFBGQ0YrX/eyg76vqKlfEngu3NH4z2PpgctYhT0SDGII+0oSakkIg==", "id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_form.html.erb (5.7ms) -Completed 200 OK in 528ms (Views: 526.9ms | ActiveRecord: 0.1ms) - - -Started GET "/pulitzer/posts/amarillo2?authenticity_token=fQ%2FMlGTSEDLsHJ%2BEyjQzJKEhm%2FTGD8W8MzFBGQ0YrX%2Feyg76vqKlfEngu3NH4z2PpgctYhT0SDGII%2B0oSakkIg%3D%3D" for ::1 at 2016-09-28 16:34:11 -0500 -Processing by Pulitzer::PostsController#show as */* - Parameters: {"authenticity_token"=>"fQ/MlGTSEDLsHJ+EyjQzJKEhm/TGD8W8MzFBGQ0YrX/eyg76vqKlfEngu3NH4z2PpgctYhT0SDGII+0oSakkIg==", "id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (1.1ms) -Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.1ms) - - -Started GET "/pulitzer/posts/amarillo2/edit?authenticity_token=fQ%2FMlGTSEDLsHJ%2BEyjQzJKEhm%2FTGD8W8MzFBGQ0YrX%2Feyg76vqKlfEngu3NH4z2PpgctYhT0SDGII%2B0oSakkIg%3D%3D" for ::1 at 2016-09-28 16:34:19 -0500 -Processing by Pulitzer::PostsController#edit as */* - Parameters: {"authenticity_token"=>"fQ/MlGTSEDLsHJ+EyjQzJKEhm/TGD8W8MzFBGQ0YrX/eyg76vqKlfEngu3NH4z2PpgctYhT0SDGII+0oSakkIg==", "id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_form.html.erb (2.1ms) -Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.1ms) - - -Started PATCH "/pulitzer/posts/amarillo2" for ::1 at 2016-09-28 16:34:22 -0500 -Processing by Pulitzer::PostsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"TA8rnMJbbf8IYRh71Wsqs4PaQgGTajZYtQfl7MFpgavvyunyGCvYsa2dPIxYvCQYhPz0l0GRu9UOFUndhdgI9g==", "post"=>{"title"=>"Jobs"}, "commit"=>"Update Post", "id"=>"amarillo2"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "amarillo2"]] -  (0.0ms) begin transaction - Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 4) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "jobs"]] - SQL (0.3ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "Jobs"], ["slug", "jobs"], ["updated_at", "2016-09-28 21:34:22.223842"], ["id", 4]] -  (665.7ms) commit transaction - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.6ms) -Completed 200 OK in 692ms (Views: 19.6ms | ActiveRecord: 666.3ms) - - -Started GET "/" for ::1 at 2016-09-29 16:05:51 -0500 -Processing by PagesController#news_posts as HTML - Pulitzer::PostType Load (0.4ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "News articles"]] -Completed 500 Internal Server Error in 45ms - -NoMethodError (undefined method `posts' for nil:NilClass): - app/controllers/pages_controller.rb:7:in `news_posts' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (65.3ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-29 16:05:57 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (1.0ms) -Completed 200 OK in 132ms (Views: 132.0ms | ActiveRecord: 0.0ms) - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=cYoGHkMwVMuQJgaJ4KH9Lh9e97B5tR31BG0HghZTG3PST8RwmUDhhTXaIn5tdvOFGHhBJqtOkHi%2Ff6uzUuKSLg%3D%3D" for ::1 at 2016-09-29 16:05:57 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"cYoGHkMwVMuQJgaJ4KH9Lh9e97B5tR31BG0HghZTG3PST8RwmUDhhTXaIn5tdvOFGHhBJqtOkHi/f6uzUuKSLg=="} - Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (20.0ms) - Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (30.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (48.3ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (17.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (19.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (182.3ms) -Completed 200 OK in 876ms (Views: 873.8ms | ActiveRecord: 1.3ms) - - -Started GET "/pulitzer/posts?post_type_id=4" for ::1 at 2016-09-29 16:06:02 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"4"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 4 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (4.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (8.9ms) -Completed 200 OK in 72ms (Views: 69.9ms | ActiveRecord: 0.4ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-29 16:06:06 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (2078.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (25.2ms) -Completed 200 OK in 2193ms (Views: 111.7ms | ActiveRecord: 2079.2ms) - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=K%2F7DC9UYN0jn8wJIneq4DwFzC%2F6Goq4Y5UkYLMC23pGIOwFlD2iCBkIPJr8QPbakBlW9aFRZI5VeW7QdhAdXzA%3D%3D" for ::1 at 2016-09-29 16:06:09 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"K/7DC9UYN0jn8wJIneq4DwFzC/6Goq4Y5UkYLMC23pGIOwFlD2iCBkIPJr8QPbakBlW9aFRZI5VeW7QdhAdXzA==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (21.1ms) - Pulitzer::PostTag Load (0.4ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (7.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.9ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.9ms) - Pulitzer::ContentElementType Exists (0.7ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::PostTypeContentElementType Load (0.5ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (13.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (34.5ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (131.4ms) - Pulitzer::FreeFormSectionType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (335.9ms) -Completed 200 OK in 879ms (Views: 348.8ms | ActiveRecord: 4.9ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:06:23 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"Zmn+qvGrEoirkhYJ6Zgrv3GMoBT+fTqHP8U5bVUTdq/FrDzEK9unxg5uMv5kTyUUdqoWgiyGtwqE15VcEaL/8g==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (17.5ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.9ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (16.5ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.4ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (71.9ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (4.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (218.3ms) -Completed 200 OK in 79302ms (Views: 0.5ms | ActiveRecord: 1.4ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:08:46 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"UrUBHkCPTTxvYfWuizNQav9gmwnG3X+TRcpF8BJIAC7xcMNwmv/4csqd0VkG5F7B+EYtnxQm8h7+2OnBVvmJcw==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} -Completed 500 Internal Server Error in 1ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.5ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (49.5ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-29 16:09:40 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (37.9ms) -Completed 200 OK in 239ms (Views: 170.5ms | ActiveRecord: 2.3ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-29 16:09:40 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=skFCIYz81nQnS8XokK7SL2GaojS3NlYTpEoI11%2FIkXIRhIBPVoxjOoK34R8dedyEZrwUomXN254fWKTmG3kYLw%3D%3D" for ::1 at 2016-09-29 16:09:40 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"skFCIYz81nQnS8XokK7SL2GaojS3NlYTpEoI11/IkXIRhIBPVoxjOoK34R8dedyEZrwUomXN254fWKTmG3kYLw==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (17.3ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (7.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (24.8ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (16.5ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (22.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (44.2ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (25.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (141.9ms) - Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (8.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (314.8ms) -Completed 200 OK in 480ms (Views: 334.3ms | ActiveRecord: 3.1ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:09:42 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"S/f5fXogHHqoEK5ZpWQz/g64TleYqaDLQctwcV9wAqXoMjsToFCpNA3siq4osz1VCZ74wUpSLUb62dxAG8GL+A==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (17.6ms) -Completed 500 Internal Server Error in 13529ms - -ActionView::Template::Error (undefined method `processing_failed?' for #<Pulitzer::UpdateVersionStatus:0x007fa263e88700>): - 1: <% if version.processing_failed? %> - 2: <div class="pulitzer-row"> - 3: There was a problem creating the new preview version of this post for editing. - 4: <ul> - /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb:1:in `___sers_gomayonqui__ites_work_pulitzer_app_views_pulitzer_versions__edit_html_erb___3025408029819199927_70167750039160' - actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' - activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' - actionview (4.2.0) lib/action_view/template.rb:143:in `render' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' - actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' - actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' - actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' - actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' - actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' - actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' - actionpack (4.2.0) lib/abstract_controller/rendering.rb:43:in `render_to_string' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:21:in `render_to_string' - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:20:in `update' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (47.0ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-29 16:14:12 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (40.6ms) -Completed 200 OK in 248ms (Views: 162.5ms | ActiveRecord: 3.0ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-29 16:14:12 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=PV3YR8%2BeVBqdaJvf2jdPcUii0Hjo9EwXNNSLXKnFWpCemBopFe7hVDiUvyhX4EHaT4Rm7joPwZqPxidt7XTTzQ%3D%3D" for ::1 at 2016-09-29 16:14:12 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"PV3YR8+eVBqdaJvf2jdPcUii0Hjo9EwXNNSLXKnFWpCemBopFe7hVDiUvyhX4EHaT4Rm7joPwZqPxidt7XTTzQ==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (17.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.6ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (16.8ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (20.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (44.1ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (140.7ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (8.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (311.0ms) -Completed 200 OK in 476ms (Views: 329.7ms | ActiveRecord: 3.0ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:14:15 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"pdUqyHK69av1pRSnTdSiso7jpFhy9c6PuqwW6z0XbeIGEOimqMpA5VBZMFDAA6wZicUSzqAOQwIBvrraeabkvw==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.9ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.7ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (15.8ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (3.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.2ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (73.8ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (218.1ms) -Completed 200 OK in 243ms (Views: 0.6ms | ActiveRecord: 1.4ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:14:20 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"OmiN+r+3WdE4rnBCifhDgWozMPdmupbaJQcKCHrNghKZrU+UZcfsn51SVLUEL00qbRWGYbRBG1eeFaY5PnwLTw==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (17.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (16.9ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.1ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (19.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (72.6ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (211.1ms) -Completed 200 OK in 230ms (Views: 0.7ms | ActiveRecord: 1.2ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-29 16:14:22 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (3.1ms) -Completed 200 OK in 57ms (Views: 55.3ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-29 16:14:23 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-29 16:14:27 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-29 16:14:28 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=D3QyC4xDU14u8SfgKSMDgJ8K4VHP%2BtgFo3qM9eTLSEOssfBlVjPmEIsNAxek9A0rmCxXxx0BVYgYaCDEoHrBHg%3D%3D" for ::1 at 2016-09-29 16:14:28 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"D3QyC4xDU14u8SfgKSMDgJ8K4VHP+tgFo3qM9eTLSEOssfBlVjPmEIsNAxek9A0rmCxXxx0BVYgYaCDEoHrBHg==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.8ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (34.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (24.3ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (26.3ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (84.1ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (4.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (283.5ms) -Completed 200 OK in 309ms (Views: 299.8ms | ActiveRecord: 1.8ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:16:06 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"Izh8qbbgz1gefnAAj2T5eFdbQlQVHuoNfFsm60PGa4CA/b7HbJB6FruCVPcCs/fTUH30wsflZ4DHSYraB3fi3Q==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (6.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (48.5ms) - Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (19.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (54.4ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (79.8ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (3.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (34.1ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (28.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (119.1ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (13.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (546.0ms) -Completed 200 OK in 583ms (Views: 1.7ms | ActiveRecord: 2.2ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-29 16:16:10 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (4.0ms) -Completed 200 OK in 67ms (Views: 65.6ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-29 16:16:11 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=tl5nrAPeRHBNOpgaeupvYKEALA4jaF2hc%2Bv%2FAxKoUv8Vm6XC2a7xPujGvO33PWHLpiaamPGT0CzI%2BVMyVhnbog%3D%3D" for ::1 at 2016-09-29 16:16:11 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"tl5nrAPeRHBNOpgaeupvYKEALA4jaF2hc+v/AxKoUv8Vm6XC2a7xPujGvO33PWHLpiaamPGT0CzI+VMyVhnbog==", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (25.3ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (35.9ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (22.0ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (30.2ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (92.3ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (6.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (293.8ms) -Completed 200 OK in 320ms (Views: 315.5ms | ActiveRecord: 1.2ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:16:13 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"giP500H471Hh4F2+DyOT46dMuD5fkAirTCBTOyz/VCsh5ju9m4haH0QceUmC9J1IoGoOqI1rhSb3Mv8KaE7ddg==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (18.1ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (27.0ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.6ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (22.1ms) - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (46.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (66.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (128.1ms) - Pulitzer::FreeFormSectionType Exists (1.9ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (390.7ms) -Completed 200 OK in 422ms (Views: 1.0ms | ActiveRecord: 3.2ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:16:20 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"7+6iMBXNQAJoMZKvk8axW1RxUHVtfEQiVwM9cidYjpVMK2Bez731TM3NtlgeEb/wU1fm47+Hya/sEZFDY+kHyA==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (24.4ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (19.1ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (20.4ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (72.4ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (234.1ms) -Completed 200 OK in 255ms (Views: 0.5ms | ActiveRecord: 1.6ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-29 16:16:39 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (3.4ms) -Completed 200 OK in 81ms (Views: 79.5ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-29 16:16:39 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=HeOm7jKDGhEmmwpgWKnQXs26vfhyeOqA4qyDacPAAv6%2BJmSA6POvX4NnLpfVft71ypwLbqCDZw1Zvi9Yh3GLow%3D%3D" for ::1 at 2016-09-29 16:16:39 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"HeOm7jKDGhEmmwpgWKnQXs26vfhyeOqA4qyDacPAAv6+JmSA6POvX4NnLpfVft71ypwLbqCDZw1Zvi9Yh3GLow==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.3ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (32.4ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (35.0ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (4.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (33.3ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (9.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (42.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (133.2ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (12.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (358.2ms) -Completed 200 OK in 391ms (Views: 382.4ms | ActiveRecord: 2.0ms) - - -Started GET "/pulitzer/content_elements/6/edit?authenticity_token=HeOm7jKDGhEmmwpgWKnQXs26vfhyeOqA4qyDacPAAv6%2BJmSA6POvX4NnLpfVft71ypwLbqCDZw1Zvi9Yh3GLow%3D%3D" for ::1 at 2016-09-29 16:17:07 -0500 -Processing by Pulitzer::ContentElementsController#edit as */* - Parameters: {"authenticity_token"=>"HeOm7jKDGhEmmwpgWKnQXs26vfhyeOqA4qyDacPAAv6+JmSA6POvX4NnLpfVft71ypwLbqCDZw1Zvi9Yh3GLow==", "id"=>"6"} - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["id", 6]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_text_fields.html.erb (11.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_form.html.erb (58.9ms) -Completed 200 OK in 92ms (Views: 90.6ms | ActiveRecord: 0.4ms) - - -Started PATCH "/pulitzer/content_elements/6" for ::1 at 2016-09-29 16:17:09 -0500 -Processing by Pulitzer::ContentElementsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"I5tPKHOCrLZuRevexD/8x2T2yICRC89fux7uKjYy4OGAXo1GqfIZ+Mu5zylJ6PJsY9B+FkPwQtIADEIbcoNpvA==", "content_element"=>{"body"=>"asdfasdf"}, "commit"=>"Update", "id"=>"6"} - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["id", 6]] -  (0.1ms) begin transaction - SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "asdfasdf"], ["updated_at", "2016-09-29 21:17:09.137597"], ["id", 6]] -  (5119.7ms) commit transaction - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (3.8ms) -Completed 200 OK in 5158ms (Views: 32.0ms | ActiveRecord: 5120.6ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:17:16 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"V0PjF2vt0B55hLoTWN+Oy+ZUFZIvVt3vLn57HwuYKxP0hiF5sZ1lUNx4nuTVCIBg4XKjBP2tUGKVbNcuTymiTg==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -Completed 500 Internal Server Error in 6ms - -NoMethodError (undefined method `any?' for nil:NilClass): - /Users/gomayonqui/Sites/work/pulitzer/app/controllers/pulitzer/versions_controller.rb:14:in `update' - actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' - activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' - activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' - actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' - actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' - activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' - actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' - actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' - actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' - actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' - railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' - actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' - actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' - actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' - rack (1.6.4) lib/rack/etag.rb:24:in `call' - rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' - rack (1.6.4) lib/rack/head.rb:13:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' - rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' - rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' - activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' - activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' - activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' - activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' - activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' - actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' - railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' - activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' - railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' - rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' - rack (1.6.4) lib/rack/runtime.rb:18:in `call' - activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' - rack (1.6.4) lib/rack/sendfile.rb:113:in `call' - railties (4.2.0) lib/rails/engine.rb:518:in `call' - railties (4.2.0) lib/rails/application.rb:164:in `call' - rack (1.6.4) lib/rack/lock.rb:17:in `call' - rack (1.6.4) lib/rack/content_length.rb:15:in `call' - rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' - /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.0ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (48.0ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-29 16:18:15 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (39.7ms) -Completed 200 OK in 236ms (Views: 160.1ms | ActiveRecord: 3.8ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-29 16:18:15 -0500 - - -Started GET "/pulitzer/versions/8/edit?authenticity_token=rW3ESMJre%2FQbV%2Foxzl5kqTC9H5BOTRpajlU5asPXRIYOqAYmGBvOur6r3sZDiWoCN5upBpy2l9c1R5Vbh2bN2w%3D%3D" for ::1 at 2016-09-29 16:18:15 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"rW3ESMJre/QbV/oxzl5kqTC9H5BOTRpajlU5asPXRIYOqAYmGBvOur6r3sZDiWoCN5upBpy2l9c1R5Vbh2bN2w==", "id"=>"8"} - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (29.3ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (26.2ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.7ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (25.9ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (12.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (36.0ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (21.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (155.9ms) - Pulitzer::FreeFormSectionType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (9.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (380.1ms) -Completed 200 OK in 539ms (Views: 401.0ms | ActiveRecord: 3.5ms) - - -Started PATCH "/pulitzer/versions/8" for ::1 at 2016-09-29 16:18:30 -0500 -Processing by Pulitzer::VersionsController#update as */* - Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pwV9k3pcg9EEcT0TNRCBdetiMlZ8qH7ecV3H+HRKYNRWdeYl5nHQeHt4APBA0yu0Is+X4sJLHbC19supWCg3g==", "commit"=>"Activate", "status"=>"active", "id"=>"8"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-09-29 21:18:30.069862"], ["id", 8]] -  (720.3ms) commit transaction - Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 8], ["label_type", "Pulitzer::Tag"]] -  (0.1ms) begin transaction - SQL (2.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", "2016-09-29 21:18:30.816062"], ["id", 7]] -  (2.1ms) commit transaction -  (0.2ms) begin transaction - SQL (0.7ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 4], ["created_at", "2016-09-29 21:18:30.855972"], ["updated_at", "2016-09-29 21:18:30.855972"]] -  (5.2ms) commit transaction -[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: bd8013d9-ae02-46d1-b6dd-e55ab254d8ea) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/8 -[ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 8]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/8 -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::CloneVersion !!! -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] bin/rails -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 4]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 8]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::ContentElementType Load (3.6ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] SQL (9.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "text_editor") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["label", "a required field"], ["body", "asdfasdf"], ["image", nil], ["post_type_content_element_type_id", 2], ["content_element_type_id", 1], ["created_at", "2016-09-27 16:34:21.371364"], ["updated_at", "2016-09-29 21:17:09.137597"], ["text_editor", "None"]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (1117.3ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 9], ["updated_at", "2016-09-29 21:18:32.309243"], ["id", 8]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (1.6ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::ContentElementType Load (0.6ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "image", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "text_editor") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "an optional field"], ["image", nil], ["post_type_content_element_type_id", 3], ["content_element_type_id", 1], ["created_at", "2016-09-27 16:49:39.363097"], ["updated_at", "2016-09-27 22:00:09.000596"], ["text_editor", "None"]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (3.3ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 9], ["updated_at", "2016-09-29 21:18:32.350551"], ["id", 9]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (4.8ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 8]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 8]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (0.1ms) begin transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] SQL (12.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-09-29 21:18:32.373414"], ["id", 9]] -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea]  (1.2ms) commit transaction -[ActiveJob] [Pulitzer::CloneVersionJob] [bd8013d9-ae02-46d1-b6dd-e55ab254d8ea] Performed Pulitzer::CloneVersionJob from Inline(default) in 1441.84ms - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 9]] - CACHE (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (63.3ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 9], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (34.7ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 9], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (23.5ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 9], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (3.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.5ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (22.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (75.8ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (373.3ms) -Completed 200 OK in 2764ms (Views: 0.5ms | ActiveRecord: 1891.1ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-30 09:17:40 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (1.9ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (13.5ms) -Completed 200 OK in 124ms (Views: 108.9ms | ActiveRecord: 2.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-30 09:17:40 -0500 - - -Started GET "/pulitzer/versions/9/edit?authenticity_token=jAK2vo3StI%2BjAUQjksLwNaluNLYEd3f%2BoHZJdC3X5oIvx3TQV6IBwQb9YNQfFf6erkiCINaM%2BnMbZOVFaWZv3w%3D%3D" for ::1 at 2016-09-30 09:17:41 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"jAK2vo3StI+jAUQjksLwNaluNLYEd3f+oHZJdC3X5oIvx3TQV6IBwQb9YNQfFf6erkiCINaM+nMbZOVFaWZv3w==", "id"=>"9"} - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 9]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.2ms) - Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 9], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.5ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 9], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (17.2ms) - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 9], ["kind", 0]] - Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (4.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (28.2ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.2ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (17.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (96.5ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (4.6ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (250.7ms) -Completed 200 OK in 304ms (Views: 271.0ms | ActiveRecord: 1.7ms) - - -Started GET "/pulitzer/posts/jobs/edit" for ::1 at 2016-09-30 09:37:10 -0500 -Processing by Pulitzer::PostsController#edit as HTML - Parameters: {"id"=>"jobs"} - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["slug", "jobs"]] - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/edit.html.erb within layouts/application (2.4ms) -Completed 200 OK in 97ms (Views: 95.6ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-30 09:37:10 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-30 09:37:11 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-30 09:37:11 -0500 - - -Started GET "/pulitzer/versions/9/edit?authenticity_token=39LDSdh8bVJ9cWzvuEdhFoWVN82%2F%2BS4jZz32guOBJkp8FwEnAgzYHNiNSBg1kG%2B9grOBW20Co67cL1qzpzCvFw%3D%3D" for ::1 at 2016-09-30 09:37:15 -0500 -Processing by Pulitzer::VersionsController#edit as */* - Parameters: {"authenticity_token"=>"39LDSdh8bVJ9cWzvuEdhFoWVN82/+S4jZz32guOBJkp8FwEnAgzYHNiNSBg1kG+9grOBW20Co67cL1qzpzCvFw==", "id"=>"9"} - Pulitzer::Version Load (3.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 9]] - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (19.5ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 9], ["label_type", "Pulitzer::Tag"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (20.1ms) - Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 9], ["label_type", "SearchLocation"]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (16.7ms) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 9], ["kind", 0]] - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 2]] - Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.4ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (18.5ms) - 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT 1 [["id", 3]] - CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (21.1ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_index.html.erb (71.9ms) - Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 4]] - Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 4], ["status", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (4.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (218.6ms) -Completed 200 OK in 253ms (Views: 239.8ms | ActiveRecord: 5.0ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-30 11:52:20 -0500 -Processing by Pulitzer::PostTypesController#index as HTML -Completed 500 Internal Server Error in 1ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (61.8ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-30 11:52:44 -0500 -Processing by Pulitzer::PostTypesController#index as HTML -Completed 500 Internal Server Error in 0ms - -ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): - app/controllers/application_controller.rb:9:in `setup_user' - - - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) - Rendered /Users/gomayonqui/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.5ms) - - -Started GET "/pulitzer" for ::1 at 2016-09-30 11:53:02 -0500 -Processing by Pulitzer::PostTypesController#index as HTML - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.3ms) -Completed 200 OK in 187ms (Views: 186.0ms | ActiveRecord: 0.0ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-30 11:53:02 -0500 - - -Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=ZkRiXJsM4EjovQ7UZTzGCrAWU5l5XWHAiwgEWA%2FcipTFgaAyQXxVBk1BKiPo68ihtzDlD6um7E0wGqhpS20DyQ%3D%3D" for ::1 at 2016-09-30 11:53:02 -0500 -Processing by Pulitzer::PostTypesController#index as */* - Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"ZkRiXJsM4EjovQ7UZTzGCrAWU5l5XWHAiwgEWA/cipTFgaAyQXxVBk1BKiPo68ihtzDlD6um7E0wGqhpS20DyQ=="} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 0]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (21.0ms) - Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (30.5ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (46.7ms) - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 3]] - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.0ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (18.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (15.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/post_types/_index.html.erb (177.7ms) -Completed 200 OK in 780ms (Views: 194.2ms | ActiveRecord: 2.5ms) - - -Started GET "/pulitzer/posts?post_type_id=4" for ::1 at 2016-09-30 11:53:05 -0500 -Processing by Pulitzer::PostsController#index as HTML - Parameters: {"post_type_id"=>"4"} - Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 4]] - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = 4 - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show.html.erb (0.8ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.3ms) - Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/posts/index.html.erb within layouts/application (6.9ms) -Completed 200 OK in 68ms (Views: 64.4ms | ActiveRecord: 0.3ms) - - -Started GET "/assets/application-4cb7a8479e8b9579bf65b4b1c6659059.css?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/pulitzer-773e6c14c71edbf7460908d3a2f5384d.css?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/select2-00b778bbea2bcdac2ab1acaab2dbfec8.css?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/thin_man-d69ab8b0546d7990b8449ef9340b6095.js?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/hooch-73196ae8f37ca5f602fb05a90721f86c.js?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/select2-fd0225f6e3f1d8119fba2a9579089430.js?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/application-cc96f81e7e7d13693dccff3f06d8897d.js?body=1" for ::1 at 2016-09-30 11:53:05 -0500 - - -Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-09-30 11:53:05 -0500 + Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC+Y2+yLs1ZAna/PNDAdkah4uEYW3WDg/vcMSdnMR7jkLw=="} + Pulitzer::PostType Load (1.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 0]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/_index.html.erb (9.2ms) +Completed 200 OK in 62ms (Views: 38.2ms | ActiveRecord: 1.4ms)