{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/ex_machina/issues/168","repository_url":"https://api.github.com/repos/thoughtbot/ex_machina","labels_url":"https://api.github.com/repos/thoughtbot/ex_machina/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/ex_machina/issues/168/comments","events_url":"https://api.github.com/repos/thoughtbot/ex_machina/issues/168/events","html_url":"https://github.com/thoughtbot/ex_machina/pull/168","id":181974305,"number":168,"title":"Add `string_params_for`","user":{"login":"pdawczak","id":601110,"avatar_url":"https://avatars.githubusercontent.com/u/601110?v=3","gravatar_id":"","url":"https://api.github.com/users/pdawczak","html_url":"https://github.com/pdawczak","followers_url":"https://api.github.com/users/pdawczak/followers","following_url":"https://api.github.com/users/pdawczak/following{/other_user}","gists_url":"https://api.github.com/users/pdawczak/gists{/gist_id}","starred_url":"https://api.github.com/users/pdawczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdawczak/subscriptions","organizations_url":"https://api.github.com/users/pdawczak/orgs","repos_url":"https://api.github.com/users/pdawczak/repos","events_url":"https://api.github.com/users/pdawczak/events{/privacy}","received_events_url":"https://api.github.com/users/pdawczak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-10T09:45:46Z","updated_at":"2016-10-11T18:36:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/ex_machina/pulls/168","html_url":"https://github.com/thoughtbot/ex_machina/pull/168","diff_url":"https://github.com/thoughtbot/ex_machina/pull/168.diff","patch_url":"https://github.com/thoughtbot/ex_machina/pull/168.patch"},"body":"Having seen that the #153 has been closed, I've decided to take that further.\r\n\r\nIn the #146 issue raised, that `params_for/2` returns a map where the keys are atoms, it makes it difficult to use it in controller tests for Phoenix application. Taking [comment about naming the functions](https://github.com/thoughtbot/ex_machina/issues/146#issuecomment-247629597) into the account, the two new functions have been introduced: `string_params_for/2` and `string_params_with_assocs/2`.\r\n\r\nHope this simple addition makes our lives easier.\r\n\r\nWhat do you think? Is this still valuable?"},"comment":{"url":"https://api.github.com/repos/thoughtbot/ex_machina/issues/comments/253005206","html_url":"https://github.com/thoughtbot/ex_machina/pull/168#issuecomment-253005206","issue_url":"https://api.github.com/repos/thoughtbot/ex_machina/issues/168","id":253005206,"user":{"login":"paulcsmith","id":22394,"avatar_url":"https://avatars.githubusercontent.com/u/22394?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcsmith","html_url":"https://github.com/paulcsmith","followers_url":"https://api.github.com/users/paulcsmith/followers","following_url":"https://api.github.com/users/paulcsmith/following{/other_user}","gists_url":"https://api.github.com/users/paulcsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcsmith/subscriptions","organizations_url":"https://api.github.com/users/paulcsmith/orgs","repos_url":"https://api.github.com/users/paulcsmith/repos","events_url":"https://api.github.com/users/paulcsmith/events{/privacy}","received_events_url":"https://api.github.com/users/paulcsmith/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T18:36:15Z","updated_at":"2016-10-11T18:36:15Z","body":"@pdawczak Thank you so much for this. I think this would be a great addition, but before merging I'd like to get some input from @jsteiner and @drapergeek \r\n\r\nNice work!"}}
{"actor":{"display_login":"paulcsmith"}}