{"action":"opened","issue":{"url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/772","repository_url":"https://api.github.com/repos/ga-wdi-exercises/project2","labels_url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/772/comments","events_url":"https://api.github.com/repos/ga-wdi-exercises/project2/issues/772/events","html_url":"https://github.com/ga-wdi-exercises/project2/issues/772","id":188822216,"number":772,"title":"Creating a post form on a non traditional rails route","user":{"login":"robertzehnder","id":16313830,"avatar_url":"https://avatars.githubusercontent.com/u/16313830?v=3","gravatar_id":"","url":"https://api.github.com/users/robertzehnder","html_url":"https://github.com/robertzehnder","followers_url":"https://api.github.com/users/robertzehnder/followers","following_url":"https://api.github.com/users/robertzehnder/following{/other_user}","gists_url":"https://api.github.com/users/robertzehnder/gists{/gist_id}","starred_url":"https://api.github.com/users/robertzehnder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertzehnder/subscriptions","organizations_url":"https://api.github.com/users/robertzehnder/orgs","repos_url":"https://api.github.com/users/robertzehnder/repos","events_url":"https://api.github.com/users/robertzehnder/events{/privacy}","received_events_url":"https://api.github.com/users/robertzehnder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-11T18:35:07Z","updated_at":"2016-11-11T18:35:07Z","closed_at":null,"body":"Goal: Create a sign in page that routes to the user's show page (profile)\r\n\r\nI will try to post a picture of the error. I think the top of my form looks correct after reviewing previous examples. It looks like the form is getting tripped up on my \"@user\" not having an ID because it hasn't been made yet. Any thoughts?\r\n\r\n**Error**\r\n`No route matches {:action=>\"show\", :controller=>\"users\"} missing required keys: [:id]\r\n`\r\n\r\n**Code**\r\n```\r\n<%= form_for @user, url: user_path(@user), method: :post do |f| %>\r\n  <%= f.label :email %>\r\n  <%= f.text_field :email %>\r\n\r\n  <%= f.label :password %>\r\n  <%= f.password_field :password %>\r\n\r\n  <%= f.submit \"Submit\" %>\r\n<% end %>\r\n\r\n```"}}
{"actor":{"display_login":"robertzehnder"}}