spec/dummy/log/development.log in pulitzer-0.4.16 vs spec/dummy/log/development.log in pulitzer-0.5.0

- old
+ new

@@ -1,2681 +1,199 @@ +  (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.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.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 +  (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.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 +  (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 -  (0.1ms) rollback transaction -#<ActiveModel::Errors:0x007fa76cdac4b8> + 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 -  (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]] +  (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.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.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.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.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 - 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) 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 +Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (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 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 - 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) +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]] +  (0.7ms) commit transaction +Migrating to AddErrorsToVersion (20160122204201) +  (0.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' + + 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/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 +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 (0.8ms) -Completed 200 OK in 56ms (Views: 55.5ms | 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-08-30 10:03:16 -0500 +Started GET "/assets/application-2057cc134437d2a378b92e4d575e8a4a.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-08-30 10:03:16 -0500 +Started GET "/assets/pulitzer-c9bbd5abe46f01f06a16fea87c66b734.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-08-30 10:03:16 -0500 +Started GET "/assets/select2-3dd5f7c039d1d49a7a5971e99aa4aa60.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-08-30 10:03:16 -0500 +Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/pulitzer-0d163944e1a0fb451e694c3f2f629180.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 +Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/thin_man-47f7e26f4dc61d72ecaf6425a2ee27eb.js?body=1" for ::1 at 2016-08-30 10:03:16 -0500 +Started GET "/assets/thin_man-da7569df64068b77b371e6287ce0d1a2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.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-05-20 13:59:47 -0600 -Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-08-30 10:03:16 -0500 +Started GET "/assets/pulitzer-33af45d7375ad91993093cee313a88cf.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-08-30 10:03:16 -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-08-30 10:03:16 -0500 +Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 -Started GET "/assets/application-ed551551475c1d6a76f68338176b2cd2.js?body=1" for ::1 at 2016-08-30 10:03:16 -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=U3FPOn99tcTiInr27bdKw2hogA346DSHD0wSP4xuSQnwtI1UpQ0AikfeXgFgYERob042myoTuQq0Xr4OyN%2FAVA%3D%3D" for ::1 at 2016-08-30 10:03:16 -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"=>"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.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"]] -  (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.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) + 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)