{"action":"opened","number":264,"pull_request":{"url":"https://api.github.com/repos/elabs/pundit/pulls/264","id":32127046,"html_url":"https://github.com/elabs/pundit/pull/264","diff_url":"https://github.com/elabs/pundit/pull/264.diff","patch_url":"https://github.com/elabs/pundit/pull/264.patch","issue_url":"https://api.github.com/repos/elabs/pundit/issues/264","number":264,"state":"open","locked":false,"title":"policy_scope issue with empty active record model relations","user":{"login":"twalpole","id":16556,"avatar_url":"https://avatars.githubusercontent.com/u/16556?v=3","gravatar_id":"","url":"https://api.github.com/users/twalpole","html_url":"https://github.com/twalpole","followers_url":"https://api.github.com/users/twalpole/followers","following_url":"https://api.github.com/users/twalpole/following{/other_user}","gists_url":"https://api.github.com/users/twalpole/gists{/gist_id}","starred_url":"https://api.github.com/users/twalpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twalpole/subscriptions","organizations_url":"https://api.github.com/users/twalpole/orgs","repos_url":"https://api.github.com/users/twalpole/repos","events_url":"https://api.github.com/users/twalpole/events{/privacy}","received_events_url":"https://api.github.com/users/twalpole/received_events","type":"User","site_admin":false},"body":"One more change from blank? to nil? and basic tests","created_at":"2015-03-27T17:17:55Z","updated_at":"2015-03-27T17:17:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elabs/pundit/pulls/264/commits","review_comments_url":"https://api.github.com/repos/elabs/pundit/pulls/264/comments","review_comment_url":"https://api.github.com/repos/elabs/pundit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elabs/pundit/issues/264/comments","statuses_url":"https://api.github.com/repos/elabs/pundit/statuses/46bb98d2981d689f577116736fe950038c15d091","head":{"label":"twalpole:relation","ref":"relation","sha":"46bb98d2981d689f577116736fe950038c15d091","user":{"login":"twalpole","id":16556,"avatar_url":"https://avatars.githubusercontent.com/u/16556?v=3","gravatar_id":"","url":"https://api.github.com/users/twalpole","html_url":"https://github.com/twalpole","followers_url":"https://api.github.com/users/twalpole/followers","following_url":"https://api.github.com/users/twalpole/following{/other_user}","gists_url":"https://api.github.com/users/twalpole/gists{/gist_id}","starred_url":"https://api.github.com/users/twalpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twalpole/subscriptions","organizations_url":"https://api.github.com/users/twalpole/orgs","repos_url":"https://api.github.com/users/twalpole/repos","events_url":"https://api.github.com/users/twalpole/events{/privacy}","received_events_url":"https://api.github.com/users/twalpole/received_events","type":"User","site_admin":false},"repo":{"id":7490152,"name":"pundit","full_name":"twalpole/pundit","owner":{"login":"twalpole","id":16556,"avatar_url":"https://avatars.githubusercontent.com/u/16556?v=3","gravatar_id":"","url":"https://api.github.com/users/twalpole","html_url":"https://github.com/twalpole","followers_url":"https://api.github.com/users/twalpole/followers","following_url":"https://api.github.com/users/twalpole/following{/other_user}","gists_url":"https://api.github.com/users/twalpole/gists{/gist_id}","starred_url":"https://api.github.com/users/twalpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twalpole/subscriptions","organizations_url":"https://api.github.com/users/twalpole/orgs","repos_url":"https://api.github.com/users/twalpole/repos","events_url":"https://api.github.com/users/twalpole/events{/privacy}","received_events_url":"https://api.github.com/users/twalpole/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/twalpole/pundit","description":"Minimal authorization through OO design and pure Ruby classes","fork":true,"url":"https://api.github.com/repos/twalpole/pundit","forks_url":"https://api.github.com/repos/twalpole/pundit/forks","keys_url":"https://api.github.com/repos/twalpole/pundit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twalpole/pundit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twalpole/pundit/teams","hooks_url":"https://api.github.com/repos/twalpole/pundit/hooks","issue_events_url":"https://api.github.com/repos/twalpole/pundit/issues/events{/number}","events_url":"https://api.github.com/repos/twalpole/pundit/events","assignees_url":"https://api.github.com/repos/twalpole/pundit/assignees{/user}","branches_url":"https://api.github.com/repos/twalpole/pundit/branches{/branch}","tags_url":"https://api.github.com/repos/twalpole/pundit/tags","blobs_url":"https://api.github.com/repos/twalpole/pundit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twalpole/pundit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twalpole/pundit/git/refs{/sha}","trees_url":"https://api.github.com/repos/twalpole/pundit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twalpole/pundit/statuses/{sha}","languages_url":"https://api.github.com/repos/twalpole/pundit/languages","stargazers_url":"https://api.github.com/repos/twalpole/pundit/stargazers","contributors_url":"https://api.github.com/repos/twalpole/pundit/contributors","subscribers_url":"https://api.github.com/repos/twalpole/pundit/subscribers","subscription_url":"https://api.github.com/repos/twalpole/pundit/subscription","commits_url":"https://api.github.com/repos/twalpole/pundit/commits{/sha}","git_commits_url":"https://api.github.com/repos/twalpole/pundit/git/commits{/sha}","comments_url":"https://api.github.com/repos/twalpole/pundit/comments{/number}","issue_comment_url":"https://api.github.com/repos/twalpole/pundit/issues/comments{/number}","contents_url":"https://api.github.com/repos/twalpole/pundit/contents/{+path}","compare_url":"https://api.github.com/repos/twalpole/pundit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twalpole/pundit/merges","archive_url":"https://api.github.com/repos/twalpole/pundit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twalpole/pundit/downloads","issues_url":"https://api.github.com/repos/twalpole/pundit/issues{/number}","pulls_url":"https://api.github.com/repos/twalpole/pundit/pulls{/number}","milestones_url":"https://api.github.com/repos/twalpole/pundit/milestones{/number}","notifications_url":"https://api.github.com/repos/twalpole/pundit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twalpole/pundit/labels{/name}","releases_url":"https://api.github.com/repos/twalpole/pundit/releases{/id}","created_at":"2013-01-07T21:24:09Z","updated_at":"2015-03-27T16:27:40Z","pushed_at":"2015-03-27T17:14:56Z","git_url":"git://github.com/twalpole/pundit.git","ssh_url":"git@github.com:twalpole/pundit.git","clone_url":"https://github.com/twalpole/pundit.git","svn_url":"https://github.com/twalpole/pundit","homepage":null,"size":107,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elabs:master","ref":"master","sha":"8c3f361945e5e1a0df28a81fe8a5e905075eb1cf","user":{"login":"elabs","id":34438,"avatar_url":"https://avatars.githubusercontent.com/u/34438?v=3","gravatar_id":"","url":"https://api.github.com/users/elabs","html_url":"https://github.com/elabs","followers_url":"https://api.github.com/users/elabs/followers","following_url":"https://api.github.com/users/elabs/following{/other_user}","gists_url":"https://api.github.com/users/elabs/gists{/gist_id}","starred_url":"https://api.github.com/users/elabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elabs/subscriptions","organizations_url":"https://api.github.com/users/elabs/orgs","repos_url":"https://api.github.com/users/elabs/repos","events_url":"https://api.github.com/users/elabs/events{/privacy}","received_events_url":"https://api.github.com/users/elabs/received_events","type":"Organization","site_admin":false},"repo":{"id":6529205,"name":"pundit","full_name":"elabs/pundit","owner":{"login":"elabs","id":34438,"avatar_url":"https://avatars.githubusercontent.com/u/34438?v=3","gravatar_id":"","url":"https://api.github.com/users/elabs","html_url":"https://github.com/elabs","followers_url":"https://api.github.com/users/elabs/followers","following_url":"https://api.github.com/users/elabs/following{/other_user}","gists_url":"https://api.github.com/users/elabs/gists{/gist_id}","starred_url":"https://api.github.com/users/elabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elabs/subscriptions","organizations_url":"https://api.github.com/users/elabs/orgs","repos_url":"https://api.github.com/users/elabs/repos","events_url":"https://api.github.com/users/elabs/events{/privacy}","received_events_url":"https://api.github.com/users/elabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elabs/pundit","description":"Minimal authorization through OO design and pure Ruby classes","fork":false,"url":"https://api.github.com/repos/elabs/pundit","forks_url":"https://api.github.com/repos/elabs/pundit/forks","keys_url":"https://api.github.com/repos/elabs/pundit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elabs/pundit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elabs/pundit/teams","hooks_url":"https://api.github.com/repos/elabs/pundit/hooks","issue_events_url":"https://api.github.com/repos/elabs/pundit/issues/events{/number}","events_url":"https://api.github.com/repos/elabs/pundit/events","assignees_url":"https://api.github.com/repos/elabs/pundit/assignees{/user}","branches_url":"https://api.github.com/repos/elabs/pundit/branches{/branch}","tags_url":"https://api.github.com/repos/elabs/pundit/tags","blobs_url":"https://api.github.com/repos/elabs/pundit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elabs/pundit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elabs/pundit/git/refs{/sha}","trees_url":"https://api.github.com/repos/elabs/pundit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elabs/pundit/statuses/{sha}","languages_url":"https://api.github.com/repos/elabs/pundit/languages","stargazers_url":"https://api.github.com/repos/elabs/pundit/stargazers","contributors_url":"https://api.github.com/repos/elabs/pundit/contributors","subscribers_url":"https://api.github.com/repos/elabs/pundit/subscribers","subscription_url":"https://api.github.com/repos/elabs/pundit/subscription","commits_url":"https://api.github.com/repos/elabs/pundit/commits{/sha}","git_commits_url":"https://api.github.com/repos/elabs/pundit/git/commits{/sha}","comments_url":"https://api.github.com/repos/elabs/pundit/comments{/number}","issue_comment_url":"https://api.github.com/repos/elabs/pundit/issues/comments{/number}","contents_url":"https://api.github.com/repos/elabs/pundit/contents/{+path}","compare_url":"https://api.github.com/repos/elabs/pundit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elabs/pundit/merges","archive_url":"https://api.github.com/repos/elabs/pundit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elabs/pundit/downloads","issues_url":"https://api.github.com/repos/elabs/pundit/issues{/number}","pulls_url":"https://api.github.com/repos/elabs/pundit/pulls{/number}","milestones_url":"https://api.github.com/repos/elabs/pundit/milestones{/number}","notifications_url":"https://api.github.com/repos/elabs/pundit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elabs/pundit/labels{/name}","releases_url":"https://api.github.com/repos/elabs/pundit/releases{/id}","created_at":"2012-11-04T09:20:19Z","updated_at":"2015-03-27T13:31:06Z","pushed_at":"2015-03-27T16:13:44Z","git_url":"git://github.com/elabs/pundit.git","ssh_url":"git@github.com:elabs/pundit.git","clone_url":"https://github.com/elabs/pundit.git","svn_url":"https://github.com/elabs/pundit","homepage":null,"size":1131,"stargazers_count":2783,"watchers_count":2783,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":207,"mirror_url":null,"open_issues_count":14,"forks":207,"open_issues":14,"watchers":2783,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elabs/pundit/pulls/264"},"html":{"href":"https://github.com/elabs/pundit/pull/264"},"issue":{"href":"https://api.github.com/repos/elabs/pundit/issues/264"},"comments":{"href":"https://api.github.com/repos/elabs/pundit/issues/264/comments"},"review_comments":{"href":"https://api.github.com/repos/elabs/pundit/pulls/264/comments"},"review_comment":{"href":"https://api.github.com/repos/elabs/pundit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elabs/pundit/pulls/264/commits"},"statuses":{"href":"https://api.github.com/repos/elabs/pundit/statuses/46bb98d2981d689f577116736fe950038c15d091"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":18,"deletions":1,"changed_files":3}}