{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/32153","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/32153/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/32153/comments","events_url":"https://api.github.com/repos/rails/rails/issues/32153/events","html_url":"https://github.com/rails/rails/pull/32153","id":301923095,"number":32153,"title":"Change message on the empty result of searching routes by `rails routes` with `-c` or `-g` ","user":{"login":"bogdanvlviv","id":6443532,"avatar_url":"https://avatars0.githubusercontent.com/u/6443532?v=4","gravatar_id":"","url":"https://api.github.com/users/bogdanvlviv","html_url":"https://github.com/bogdanvlviv","followers_url":"https://api.github.com/users/bogdanvlviv/followers","following_url":"https://api.github.com/users/bogdanvlviv/following{/other_user}","gists_url":"https://api.github.com/users/bogdanvlviv/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanvlviv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanvlviv/subscriptions","organizations_url":"https://api.github.com/users/bogdanvlviv/orgs","repos_url":"https://api.github.com/users/bogdanvlviv/repos","events_url":"https://api.github.com/users/bogdanvlviv/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanvlviv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kaspth","id":350807,"avatar_url":"https://avatars0.githubusercontent.com/u/350807?v=4","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false},"assignees":[{"login":"kaspth","id":350807,"avatar_url":"https://avatars0.githubusercontent.com/u/350807?v=4","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-02T22:18:21Z","updated_at":"2018-03-11T20:00:00Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/32153","html_url":"https://github.com/rails/rails/pull/32153","diff_url":"https://github.com/rails/rails/pull/32153.diff","patch_url":"https://github.com/rails/rails/pull/32153.patch"},"body":"- Improve docs of `ActionDispatch::Routing`\r\n  - Add a mention about `-g`.\r\n  - Improve info about `--expanded` option of `rails routes`.\r\n- Introduce `ActionDispatch::Routing::ConsoleFormatter::Base`\r\n  - Create `Base` and inherit `Sheet` and `Expanded` in order to\r\n  - prevent code duplication.\r\n    - Remove trailing \"\\n\" for components of `Expanded`.\r\n    - There is no need for `Expanded#header` to return `@buffer` so return `nil` instead.\r\n  - Change/Unify `no_routes` message \"No routes were found for this controller\" to \"No routes found matching conditions.\" since if use `-g`, it sounds incorrect.\r\n\r\nRelated to #32130"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/372144202","html_url":"https://github.com/rails/rails/pull/32153#issuecomment-372144202","issue_url":"https://api.github.com/repos/rails/rails/issues/32153","id":372144202,"user":{"login":"kaspth","id":350807,"avatar_url":"https://avatars0.githubusercontent.com/u/350807?v=4","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T20:00:00Z","updated_at":"2018-03-11T20:00:00Z","author_association":"OWNER","body":"@bogdanvlviv 👍, if we can use `symbolize_keys.slice(:controller, :grep_pattern)` that might be better too (can't recall if we have Active Support access there)."}}
{"actor":{"display_login":"kaspth"}}