{"action":"closed","issue":{"url":"https://api.github.com/repos/klrosenberg/07-20-RESTfulRoutes/issues/1","labels_url":"https://api.github.com/repos/klrosenberg/07-20-RESTfulRoutes/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/klrosenberg/07-20-RESTfulRoutes/issues/1/comments","events_url":"https://api.github.com/repos/klrosenberg/07-20-RESTfulRoutes/issues/1/events","html_url":"https://github.com/klrosenberg/07-20-RESTfulRoutes/issues/1","id":96159111,"number":1,"title":"Params not collecting information as expected","user":{"login":"kaseymccormick","id":11776149,"avatar_url":"https://avatars.githubusercontent.com/u/11776149?v=3","gravatar_id":"","url":"https://api.github.com/users/kaseymccormick","html_url":"https://github.com/kaseymccormick","followers_url":"https://api.github.com/users/kaseymccormick/followers","following_url":"https://api.github.com/users/kaseymccormick/following{/other_user}","gists_url":"https://api.github.com/users/kaseymccormick/gists{/gist_id}","starred_url":"https://api.github.com/users/kaseymccormick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaseymccormick/subscriptions","organizations_url":"https://api.github.com/users/kaseymccormick/orgs","repos_url":"https://api.github.com/users/kaseymccormick/repos","events_url":"https://api.github.com/users/kaseymccormick/events{/privacy}","received_events_url":"https://api.github.com/users/kaseymccormick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T21:01:51Z","updated_at":"2015-07-20T22:05:08Z","closed_at":"2015-07-20T22:05:08Z","body":"When trying to update a user via a dropdown form, once the form is submitted the params do not collect the information we expect. \r\n*expected* result with params is -> {\"id\"=> \"5\"}\r\n*actual * result when find out params -> {\"_method\"=>\"put\", \"splat\"=>[], \"captures\"=>[\":id\"], \"id\"=>\":id\"}\r\n\r\nhave been using pry to figure out params haven't been able to track down a stack overflow solution.\r\n\r\nTyping above makes me think that the select dropdown is being formatted the wrong way, a small error.\r\nthe select section is coded as follows in the erb/view/form \r\n```html\r\n     <label for=\"id\">Select user to update:</label>\r\n     <select name=\"id\">\r\n       <% @users.each do |user| %>\r\n         <option value=\"<% user.id %>\"><%= user.name %></option>\r\n       <% end %>\r\n     </select>\r\n```"}}