{"action":"created","issue":{"url":"https://api.github.com/repos/ga-dc/project2/issues/373","labels_url":"https://api.github.com/repos/ga-dc/project2/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/ga-dc/project2/issues/373/comments","events_url":"https://api.github.com/repos/ga-dc/project2/issues/373/events","html_url":"https://github.com/ga-dc/project2/issues/373","id":117636341,"number":373,"title":"form_for issue","user":{"login":"thomhouseholder","id":13954451,"avatar_url":"https://avatars.githubusercontent.com/u/13954451?v=3","gravatar_id":"","url":"https://api.github.com/users/thomhouseholder","html_url":"https://github.com/thomhouseholder","followers_url":"https://api.github.com/users/thomhouseholder/followers","following_url":"https://api.github.com/users/thomhouseholder/following{/other_user}","gists_url":"https://api.github.com/users/thomhouseholder/gists{/gist_id}","starred_url":"https://api.github.com/users/thomhouseholder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomhouseholder/subscriptions","organizations_url":"https://api.github.com/users/thomhouseholder/orgs","repos_url":"https://api.github.com/users/thomhouseholder/repos","events_url":"https://api.github.com/users/thomhouseholder/events{/privacy}","received_events_url":"https://api.github.com/users/thomhouseholder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"RobertAKARobin","id":6268177,"avatar_url":"https://avatars.githubusercontent.com/u/6268177?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertAKARobin","html_url":"https://github.com/RobertAKARobin","followers_url":"https://api.github.com/users/RobertAKARobin/followers","following_url":"https://api.github.com/users/RobertAKARobin/following{/other_user}","gists_url":"https://api.github.com/users/RobertAKARobin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertAKARobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertAKARobin/subscriptions","organizations_url":"https://api.github.com/users/RobertAKARobin/orgs","repos_url":"https://api.github.com/users/RobertAKARobin/repos","events_url":"https://api.github.com/users/RobertAKARobin/events{/privacy}","received_events_url":"https://api.github.com/users/RobertAKARobin/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-11-18T17:21:13Z","updated_at":"2015-11-18T20:39:48Z","closed_at":null,"body":"I tried _____. \r\nImplementing a form on vets/show that allows user to create an appoinment.  \r\n\r\nFields are pet name, appointment time. (Am also trying to create drop-down of pet names.  That may be another issue once I fix this current issue - where form delivers input.)\r\n\r\nI expected _____ to happen.\r\nWant to pass this information to the appointment table to create appointment.\r\n\r\n_____ happened instead.\r\nNoMethodError in vets#show\r\n\r\nMy repo link is ___ \r\nhttps://github.com/thomhouseholder/project2-vet\r\n\r\nand my question is about lines ___.\r\n/vets/show.html.erb lines 32-44\r\nvets_controller.rb lines 25-30\r\n"},"comment":{"url":"https://api.github.com/repos/ga-dc/project2/issues/comments/157856282","html_url":"https://github.com/ga-dc/project2/issues/373#issuecomment-157856282","issue_url":"https://api.github.com/repos/ga-dc/project2/issues/373","id":157856282,"user":{"login":"RobertAKARobin","id":6268177,"avatar_url":"https://avatars.githubusercontent.com/u/6268177?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertAKARobin","html_url":"https://github.com/RobertAKARobin","followers_url":"https://api.github.com/users/RobertAKARobin/followers","following_url":"https://api.github.com/users/RobertAKARobin/following{/other_user}","gists_url":"https://api.github.com/users/RobertAKARobin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertAKARobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertAKARobin/subscriptions","organizations_url":"https://api.github.com/users/RobertAKARobin/orgs","repos_url":"https://api.github.com/users/RobertAKARobin/repos","events_url":"https://api.github.com/users/RobertAKARobin/events{/privacy}","received_events_url":"https://api.github.com/users/RobertAKARobin/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T20:39:48Z","updated_at":"2015-11-18T20:39:48Z","body":"`.build` is almost the same thing as `.new` -- it doesn't actually save anything to the database.\r\n\r\nCompleting the form should create a new appointment, yes. But the `show` route is **not** the route that does stuff when the form completes.\r\n\r\nAre you here today? I'd be happy to sit with you for a bit on this one!"}}