{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/510","repository_url":"https://api.github.com/repos/ga-wdi-exercises/project2","labels_url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/510/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/510/comments","events_url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/510/events","html_url":"https://github.com/ga-wdi-exercises/project2/issues/510","id":142961996,"number":510,"title":"NoMethodError in Oils#show","user":{"login":"hh747hh","id":16959988,"avatar_url":"https://avatars.githubusercontent.com/u/16959988?v=3","gravatar_id":"","url":"https://api.github.com/users/hh747hh","html_url":"https://github.com/hh747hh","followers_url":"https://api.github.com/users/hh747hh/followers","following_url":"https://api.github.com/users/hh747hh/following{/other_user}","gists_url":"https://api.github.com/users/hh747hh/gists{/gist_id}","starred_url":"https://api.github.com/users/hh747hh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hh747hh/subscriptions","organizations_url":"https://api.github.com/users/hh747hh/orgs","repos_url":"https://api.github.com/users/hh747hh/repos","events_url":"https://api.github.com/users/hh747hh/events{/privacy}","received_events_url":"https://api.github.com/users/hh747hh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T13:42:12Z","updated_at":"2016-03-23T13:43:24Z","closed_at":null,"body":"I created the comment table inside of oils table. When I click #1 oil it shows this error NoMethodError in Oils#show\r\n\r\nHere is where the error occured.\r\n\r\n```erb\r\n<h3>Comments</h3>\r\n<% @oil.comments.each do |comment| %>\r\n  <p>\r\n    <strong>Name:</strong>\r\n    <%= comment.commenter %>\r\n  </p>\r\n\r\n  <p>\r\n    <strong>Said:</strong>\r\n    <%= comment.body %>\r\n  </p>\r\n<% end %>\r\n\r\n\r\n<h3>Add a comment:</h3>\r\n<%= form_for([@oil, @oil.comments.build]) do |f| %>\r\n  <p>\r\n    <%= f.label :name %><br>\r\n    <%= f.text_field :name %>\r\n  </p>\r\n  <p>\r\n    <%= f.label :said %><br>\r\n    <%= f.text_area :comment %>\r\n  </p>\r\n  <p>\r\n    <%= f.submit %>\r\n  </p>\r\n<% end %>\r\n```"},"comment":{"url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/comments/200348899","html_url":"https://github.com/ga-wdi-exercises/project2/issues/510#issuecomment-200348899","issue_url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/510","id":200348899,"user":{"login":"hh747hh","id":16959988,"avatar_url":"https://avatars.githubusercontent.com/u/16959988?v=3","gravatar_id":"","url":"https://api.github.com/users/hh747hh","html_url":"https://github.com/hh747hh","followers_url":"https://api.github.com/users/hh747hh/followers","following_url":"https://api.github.com/users/hh747hh/following{/other_user}","gists_url":"https://api.github.com/users/hh747hh/gists{/gist_id}","starred_url":"https://api.github.com/users/hh747hh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hh747hh/subscriptions","organizations_url":"https://api.github.com/users/hh747hh/orgs","repos_url":"https://api.github.com/users/hh747hh/repos","events_url":"https://api.github.com/users/hh747hh/events{/privacy}","received_events_url":"https://api.github.com/users/hh747hh/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T13:43:24Z","updated_at":"2016-03-23T13:43:24Z","body":"![screen shot 2016-03-23 at 9 42 45 am](https://cloud.githubusercontent.com/assets/16959988/13986964/ab1bce48-f0db-11e5-834f-a1334bf44ec7.png)\r\n"}}