{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/25007","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/25007/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/25007/comments","events_url":"https://api.github.com/repos/rails/rails/issues/25007/events","html_url":"https://github.com/rails/rails/issues/25007","id":154685869,"number":25007,"title":"Wrong number of arguments (3 for 0..1) with link_to","user":{"login":"swaathi","id":5551587,"avatar_url":"https://avatars.githubusercontent.com/u/5551587?v=3","gravatar_id":"","url":"https://api.github.com/users/swaathi","html_url":"https://github.com/swaathi","followers_url":"https://api.github.com/users/swaathi/followers","following_url":"https://api.github.com/users/swaathi/following{/other_user}","gists_url":"https://api.github.com/users/swaathi/gists{/gist_id}","starred_url":"https://api.github.com/users/swaathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swaathi/subscriptions","organizations_url":"https://api.github.com/users/swaathi/orgs","repos_url":"https://api.github.com/users/swaathi/repos","events_url":"https://api.github.com/users/swaathi/events{/privacy}","received_events_url":"https://api.github.com/users/swaathi/received_events","type":"User","site_admin":false},"labels":[{"id":3666649,"url":"https://api.github.com/repos/rails/rails/labels/actionview","name":"actionview","color":"d7e102","default":false},{"id":128692,"url":"https://api.github.com/repos/rails/rails/labels/needs%20feedback","name":"needs feedback","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-05-13T10:55:33Z","updated_at":"2016-11-02T13:18:14Z","closed_at":"2016-05-14T04:07:42Z","body":"### Expected behavior\n\n`link_to` should allow me to pass more than one parameter. \n### Actual behavior\n\n`link_to` now allows me to pass only one parameter. So I can do things `link_to board_path(@board)` but not `link_to groups_board_path(@group, @board)`. Or even, `board_url(@board, format: :json, subdomain: current_domain.name)`. This is the error I'm getting,\n\n`ActionView::Template::Error: wrong number of arguments (3 for 0..1)`\n\nI've had to manually remove all paths and fill it in with hard coded links – something I know I will regret when I find a permanent fix for this bug.\n### Steps to reproduce\n\nI'm not sure how this error popped up, I only pushed code to production and this happened. Even when CI passed. But this error has been reported before [here](https://github.com/CultivateLabs/storytime/issues/49).\n### System configuration\n\n**Rails version**: 4.2.3\n\n**Ruby version**: ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/257861225","html_url":"https://github.com/rails/rails/issues/25007#issuecomment-257861225","issue_url":"https://api.github.com/repos/rails/rails/issues/25007","id":257861225,"user":{"login":"dineshPallapa","id":19922165,"avatar_url":"https://avatars.githubusercontent.com/u/19922165?v=3","gravatar_id":"","url":"https://api.github.com/users/dineshPallapa","html_url":"https://github.com/dineshPallapa","followers_url":"https://api.github.com/users/dineshPallapa/followers","following_url":"https://api.github.com/users/dineshPallapa/following{/other_user}","gists_url":"https://api.github.com/users/dineshPallapa/gists{/gist_id}","starred_url":"https://api.github.com/users/dineshPallapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dineshPallapa/subscriptions","organizations_url":"https://api.github.com/users/dineshPallapa/orgs","repos_url":"https://api.github.com/users/dineshPallapa/repos","events_url":"https://api.github.com/users/dineshPallapa/events{/privacy}","received_events_url":"https://api.github.com/users/dineshPallapa/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T13:18:14Z","updated_at":"2016-11-02T13:18:14Z","body":"Thanks a lot."}}
{"actor":{"display_login":"dineshPallapa"}}