{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/34","id":40349171,"html_url":"https://github.com/ombulabs/blog.ombulabs.com/pull/34","diff_url":"https://github.com/ombulabs/blog.ombulabs.com/pull/34.diff","patch_url":"https://github.com/ombulabs/blog.ombulabs.com/pull/34.patch","issue_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/34","number":34,"state":"open","locked":false,"title":"Why using default scope is a bad idea","user":{"login":"mauro-oto","id":1296641,"avatar_url":"https://avatars.githubusercontent.com/u/1296641?v=3","gravatar_id":"","url":"https://api.github.com/users/mauro-oto","html_url":"https://github.com/mauro-oto","followers_url":"https://api.github.com/users/mauro-oto/followers","following_url":"https://api.github.com/users/mauro-oto/following{/other_user}","gists_url":"https://api.github.com/users/mauro-oto/gists{/gist_id}","starred_url":"https://api.github.com/users/mauro-oto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauro-oto/subscriptions","organizations_url":"https://api.github.com/users/mauro-oto/orgs","repos_url":"https://api.github.com/users/mauro-oto/repos","events_url":"https://api.github.com/users/mauro-oto/events{/privacy}","received_events_url":"https://api.github.com/users/mauro-oto/received_events","type":"User","site_admin":false},"body":"Hey @etagwerker,\r\n\r\nThis PR adds a post with pros/cons of the usage of `default_scope`. \r\n\r\nPlease check it out, thanks!","created_at":"2015-07-20T13:02:10Z","updated_at":"2015-07-20T13:02:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/34/commits","review_comments_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/34/comments","review_comment_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/34/comments","statuses_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/statuses/98fb6f2b2e9accf999f1dd8a3e62af61b5222bbb","head":{"label":"ombulabs:why-using-default_scope-is-a-bad-idea","ref":"why-using-default_scope-is-a-bad-idea","sha":"98fb6f2b2e9accf999f1dd8a3e62af61b5222bbb","user":{"login":"ombulabs","id":8408804,"avatar_url":"https://avatars.githubusercontent.com/u/8408804?v=3","gravatar_id":"","url":"https://api.github.com/users/ombulabs","html_url":"https://github.com/ombulabs","followers_url":"https://api.github.com/users/ombulabs/followers","following_url":"https://api.github.com/users/ombulabs/following{/other_user}","gists_url":"https://api.github.com/users/ombulabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ombulabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ombulabs/subscriptions","organizations_url":"https://api.github.com/users/ombulabs/orgs","repos_url":"https://api.github.com/users/ombulabs/repos","events_url":"https://api.github.com/users/ombulabs/events{/privacy}","received_events_url":"https://api.github.com/users/ombulabs/received_events","type":"Organization","site_admin":false},"repo":{"id":29318241,"name":"blog.ombulabs.com","full_name":"ombulabs/blog.ombulabs.com","owner":{"login":"ombulabs","id":8408804,"avatar_url":"https://avatars.githubusercontent.com/u/8408804?v=3","gravatar_id":"","url":"https://api.github.com/users/ombulabs","html_url":"https://github.com/ombulabs","followers_url":"https://api.github.com/users/ombulabs/followers","following_url":"https://api.github.com/users/ombulabs/following{/other_user}","gists_url":"https://api.github.com/users/ombulabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ombulabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ombulabs/subscriptions","organizations_url":"https://api.github.com/users/ombulabs/orgs","repos_url":"https://api.github.com/users/ombulabs/repos","events_url":"https://api.github.com/users/ombulabs/events{/privacy}","received_events_url":"https://api.github.com/users/ombulabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ombulabs/blog.ombulabs.com","description":"Blog for the Ombulabs team","fork":false,"url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com","forks_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/forks","keys_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/teams","hooks_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/hooks","issue_events_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/events{/number}","events_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/events","assignees_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/assignees{/user}","branches_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/branches{/branch}","tags_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/tags","blobs_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/statuses/{sha}","languages_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/languages","stargazers_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/stargazers","contributors_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/contributors","subscribers_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/subscribers","subscription_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/subscription","commits_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/contents/{+path}","compare_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/merges","archive_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/downloads","issues_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues{/number}","pulls_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls{/number}","milestones_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/milestones{/number}","notifications_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/labels{/name}","releases_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/releases{/id}","created_at":"2015-01-15T21:06:11Z","updated_at":"2015-06-25T00:49:10Z","pushed_at":"2015-07-20T13:01:25Z","git_url":"git://github.com/ombulabs/blog.ombulabs.com.git","ssh_url":"git@github.com:ombulabs/blog.ombulabs.com.git","clone_url":"https://github.com/ombulabs/blog.ombulabs.com.git","svn_url":"https://github.com/ombulabs/blog.ombulabs.com","homepage":null,"size":1100,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ombulabs:master","ref":"master","sha":"8b221aac25f61e05ce1447c1b06ffdaa8ff40a16","user":{"login":"ombulabs","id":8408804,"avatar_url":"https://avatars.githubusercontent.com/u/8408804?v=3","gravatar_id":"","url":"https://api.github.com/users/ombulabs","html_url":"https://github.com/ombulabs","followers_url":"https://api.github.com/users/ombulabs/followers","following_url":"https://api.github.com/users/ombulabs/following{/other_user}","gists_url":"https://api.github.com/users/ombulabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ombulabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ombulabs/subscriptions","organizations_url":"https://api.github.com/users/ombulabs/orgs","repos_url":"https://api.github.com/users/ombulabs/repos","events_url":"https://api.github.com/users/ombulabs/events{/privacy}","received_events_url":"https://api.github.com/users/ombulabs/received_events","type":"Organization","site_admin":false},"repo":{"id":29318241,"name":"blog.ombulabs.com","full_name":"ombulabs/blog.ombulabs.com","owner":{"login":"ombulabs","id":8408804,"avatar_url":"https://avatars.githubusercontent.com/u/8408804?v=3","gravatar_id":"","url":"https://api.github.com/users/ombulabs","html_url":"https://github.com/ombulabs","followers_url":"https://api.github.com/users/ombulabs/followers","following_url":"https://api.github.com/users/ombulabs/following{/other_user}","gists_url":"https://api.github.com/users/ombulabs/gists{/gist_id}","starred_url":"https://api.github.com/users/ombulabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ombulabs/subscriptions","organizations_url":"https://api.github.com/users/ombulabs/orgs","repos_url":"https://api.github.com/users/ombulabs/repos","events_url":"https://api.github.com/users/ombulabs/events{/privacy}","received_events_url":"https://api.github.com/users/ombulabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ombulabs/blog.ombulabs.com","description":"Blog for the Ombulabs team","fork":false,"url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com","forks_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/forks","keys_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/teams","hooks_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/hooks","issue_events_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/events{/number}","events_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/events","assignees_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/assignees{/user}","branches_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/branches{/branch}","tags_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/tags","blobs_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/statuses/{sha}","languages_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/languages","stargazers_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/stargazers","contributors_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/contributors","subscribers_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/subscribers","subscription_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/subscription","commits_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/contents/{+path}","compare_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/merges","archive_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/downloads","issues_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues{/number}","pulls_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls{/number}","milestones_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/milestones{/number}","notifications_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/labels{/name}","releases_url":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/releases{/id}","created_at":"2015-01-15T21:06:11Z","updated_at":"2015-06-25T00:49:10Z","pushed_at":"2015-07-20T13:01:25Z","git_url":"git://github.com/ombulabs/blog.ombulabs.com.git","ssh_url":"git@github.com:ombulabs/blog.ombulabs.com.git","clone_url":"https://github.com/ombulabs/blog.ombulabs.com.git","svn_url":"https://github.com/ombulabs/blog.ombulabs.com","homepage":null,"size":1100,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/34"},"html":{"href":"https://github.com/ombulabs/blog.ombulabs.com/pull/34"},"issue":{"href":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/34"},"comments":{"href":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/ombulabs/blog.ombulabs.com/statuses/98fb6f2b2e9accf999f1dd8a3e62af61b5222bbb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":770,"deletions":2,"changed_files":9}}