{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/18175","labels_url":"https://api.github.com/repos/rails/rails/issues/18175/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/18175/comments","events_url":"https://api.github.com/repos/rails/rails/issues/18175/events","html_url":"https://github.com/rails/rails/pull/18175","id":52778402,"number":18175,"title":"Fix route helper to work with string params","user":{"login":"codeodor","id":23479,"avatar_url":"https://avatars.githubusercontent.com/u/23479?v=3","gravatar_id":"","url":"https://api.github.com/users/codeodor","html_url":"https://github.com/codeodor","followers_url":"https://api.github.com/users/codeodor/followers","following_url":"https://api.github.com/users/codeodor/following{/other_user}","gists_url":"https://api.github.com/users/codeodor/gists{/gist_id}","starred_url":"https://api.github.com/users/codeodor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeodor/subscriptions","organizations_url":"https://api.github.com/users/codeodor/orgs","repos_url":"https://api.github.com/users/codeodor/repos","events_url":"https://api.github.com/users/codeodor/events{/privacy}","received_events_url":"https://api.github.com/users/codeodor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/actionpack","name":"actionpack","color":"FFF700"},{"url":"https://api.github.com/repos/rails/rails/labels/release%20blocker","name":"release blocker","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"pixeltrix","id":6321,"avatar_url":"https://avatars.githubusercontent.com/u/6321?v=3","gravatar_id":"","url":"https://api.github.com/users/pixeltrix","html_url":"https://github.com/pixeltrix","followers_url":"https://api.github.com/users/pixeltrix/followers","following_url":"https://api.github.com/users/pixeltrix/following{/other_user}","gists_url":"https://api.github.com/users/pixeltrix/gists{/gist_id}","starred_url":"https://api.github.com/users/pixeltrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixeltrix/subscriptions","organizations_url":"https://api.github.com/users/pixeltrix/orgs","repos_url":"https://api.github.com/users/pixeltrix/repos","events_url":"https://api.github.com/users/pixeltrix/events{/privacy}","received_events_url":"https://api.github.com/users/pixeltrix/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rails/rails/milestones/40","html_url":"https://github.com/rails/rails/milestones/4.2.2","labels_url":"https://api.github.com/repos/rails/rails/milestones/40/labels","id":988887,"number":40,"title":"4.2.2","description":"","creator":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":12,"state":"open","created_at":"2015-02-20T21:21:55Z","updated_at":"2015-04-09T23:20:43Z","due_on":null,"closed_at":null},"comments":35,"created_at":"2014-12-23T22:00:16Z","updated_at":"2015-04-15T01:14:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/18175","html_url":"https://github.com/rails/rails/pull/18175","diff_url":"https://github.com/rails/rails/pull/18175.diff","patch_url":"https://github.com/rails/rails/pull/18175.patch"},"body":"This is a redo of #18173, with the change made against the master branch, as requested by @sgrif.\r\n\r\nBefore Rails 4.2.0, `model_path(\"id\" => 1)` would work fine. As of Rails 4.2.0, it generates a couple of errors:\r\n\r\n1. `ArgumentError: comparison of Array with Array failed` (due to attempting to sort a hash with mixed string/symbol keys)\r\n2. `ActionController::UrlGenerationError`, because of missing required key :id (i.e., it ignored the \"id\" string parameter)"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/93131612","html_url":"https://github.com/rails/rails/pull/18175#issuecomment-93131612","issue_url":"https://api.github.com/repos/rails/rails/issues/18175","id":93131612,"user":{"login":"y00rb","id":444876,"avatar_url":"https://avatars.githubusercontent.com/u/444876?v=3","gravatar_id":"","url":"https://api.github.com/users/y00rb","html_url":"https://github.com/y00rb","followers_url":"https://api.github.com/users/y00rb/followers","following_url":"https://api.github.com/users/y00rb/following{/other_user}","gists_url":"https://api.github.com/users/y00rb/gists{/gist_id}","starred_url":"https://api.github.com/users/y00rb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y00rb/subscriptions","organizations_url":"https://api.github.com/users/y00rb/orgs","repos_url":"https://api.github.com/users/y00rb/repos","events_url":"https://api.github.com/users/y00rb/events{/privacy}","received_events_url":"https://api.github.com/users/y00rb/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T01:14:22Z","updated_at":"2015-04-15T01:14:22Z","body":"got it, so will deprecates string option to url_for helpers in 5.0, right?\r\nif deprecates string option, I think it is avoid mixed & replicated parameters which I fixed problem."}}