Created
June 2, 2016 04:38
-
-
Save tensiondriven/9789380c57323468f94663c9a32a743b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[error] #PID<0.6158.0> running Checklist.Endpoint terminated | |
Server: localhost:4000 (http) | |
Request: GET /questions | |
** (exit) an exception was raised: | |
** (Protocol.UndefinedError) protocol Enumerable not implemented for %Checklist.Question{__meta__: #Ecto.Schema.Metadata<:loaded>, answers: #Ecto.Association.NotLoaded<association :answers is not loaded>, body: nil, gender: "A", id: 1007, parent_id: 1, questions: #Ecto.Association.NotLoaded<association :questions is not loaded>, title: "Abrasion", user: #Ecto.Association.NotLoaded<association :user is not loaded>, user_id: 1} | |
(elixir) lib/enum.ex:1: Enumerable.impl_for!/1 | |
(elixir) lib/enum.ex:116: Enumerable.reduce/3 | |
(elixir) lib/enum.ex:1477: Enum.reduce/3 | |
(checklist) Checklist.Router.Helpers.segments/3 | |
(checklist) web/router.ex:1: Checklist.Router.Helpers.question_path/3 | |
(checklist) web/templates/question/index.html.eex:26: anonymous fn/3 in Checklist.QuestionView.index.html/1 | |
(elixir) lib/enum.ex:1473: Enum."-reduce/3-lists^foldl/2-0-"/3 | |
(checklist) web/templates/question/index.html.eex:17: Checklist.QuestionView."index.html"/1 | |
(checklist) web/templates/layout/app.html.eex:63: Checklist.LayoutView."app.html"/1 | |
(phoenix) lib/phoenix/view.ex:344: Phoenix.View.render_to_iodata/3 | |
(phoenix) lib/phoenix/controller.ex:633: Phoenix.Controller.do_render/4 | |
(checklist) web/controllers/question_controller.ex:1: Checklist.QuestionController.action/2 | |
(checklist) web/controllers/question_controller.ex:1: Checklist.QuestionController.phoenix_controller_pipeline/2 | |
(checklist) lib/phoenix/router.ex:261: Checklist.Router.dispatch/2 | |
(checklist) web/router.ex:1: Checklist.Router.do_call/2 | |
(checklist) lib/checklist/endpoint.ex:1: Checklist.Endpoint.phoenix_pipeline/1 | |
(checklist) lib/plug/debugger.ex:93: Checklist.Endpoint."call (overridable 3)"/2 | |
(checklist) lib/phoenix/endpoint/render_errors.ex:34: Checklist.Endpoint.call/2 | |
(plug) lib/plug/adapters/cowboy/handler.ex:15: Plug.Adapters.Cowboy.Handler.upgrade/4 | |
(cowboy) src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment