{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/22343","labels_url":"https://api.github.com/repos/rails/rails/issues/22343/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/22343/comments","events_url":"https://api.github.com/repos/rails/rails/issues/22343/events","html_url":"https://github.com/rails/rails/pull/22343","id":117817831,"number":22343,"title":"Modify unscoped usage guide to include chaining","user":{"login":"jeffminnear","id":15134766,"avatar_url":"https://avatars.githubusercontent.com/u/15134766?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffminnear","html_url":"https://github.com/jeffminnear","followers_url":"https://api.github.com/users/jeffminnear/followers","following_url":"https://api.github.com/users/jeffminnear/following{/other_user}","gists_url":"https://api.github.com/users/jeffminnear/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffminnear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffminnear/subscriptions","organizations_url":"https://api.github.com/users/jeffminnear/orgs","repos_url":"https://api.github.com/users/jeffminnear/repos","events_url":"https://api.github.com/users/jeffminnear/events{/privacy}","received_events_url":"https://api.github.com/users/jeffminnear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-19T13:53:55Z","updated_at":"2015-11-19T14:01:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22343","html_url":"https://github.com/rails/rails/pull/22343","diff_url":"https://github.com/rails/rails/pull/22343.diff","patch_url":"https://github.com/rails/rails/pull/22343.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/158064472","html_url":"https://github.com/rails/rails/pull/22343#issuecomment-158064472","issue_url":"https://api.github.com/repos/rails/rails/issues/22343","id":158064472,"user":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:01:30Z","updated_at":"2015-11-19T14:01:30Z","body":"Hi @jeffminnear thanks for the PR! Here are a couple of changes I think would make this better: \r\n\r\n1) Add the SQL for the examples you added\r\n2) Put the note about how `unscoped` and `scope` don't work together so you need to use a block. The change you made doesn't make it clear that you use a block when you need to scope and unscope.\r\n3) Add `[ci skip]` to your commit message (for guides and documentation PR's) so that travis doesn't run.\r\n\r\nThanks!"}}