{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/jackc/surus/pulls/33","id":92198954,"html_url":"https://github.com/jackc/surus/pull/33","diff_url":"https://github.com/jackc/surus/pull/33.diff","patch_url":"https://github.com/jackc/surus/pull/33.patch","issue_url":"https://api.github.com/repos/jackc/surus/issues/33","number":33,"state":"open","locked":false,"title":"Fix has_and_belongs_to_many scope primary key","user":{"login":"exit-only","id":1661773,"avatar_url":"https://avatars.githubusercontent.com/u/1661773?v=3","gravatar_id":"","url":"https://api.github.com/users/exit-only","html_url":"https://github.com/exit-only","followers_url":"https://api.github.com/users/exit-only/followers","following_url":"https://api.github.com/users/exit-only/following{/other_user}","gists_url":"https://api.github.com/users/exit-only/gists{/gist_id}","starred_url":"https://api.github.com/users/exit-only/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exit-only/subscriptions","organizations_url":"https://api.github.com/users/exit-only/orgs","repos_url":"https://api.github.com/users/exit-only/repos","events_url":"https://api.github.com/users/exit-only/events{/privacy}","received_events_url":"https://api.github.com/users/exit-only/received_events","type":"User","site_admin":false},"body":"Found a bug where if the outside_class had a nonstandard primary key, the where clause would break. ","created_at":"2016-11-03T17:11:43Z","updated_at":"2016-11-03T17:11:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jackc/surus/pulls/33/commits","review_comments_url":"https://api.github.com/repos/jackc/surus/pulls/33/comments","review_comment_url":"https://api.github.com/repos/jackc/surus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jackc/surus/issues/33/comments","statuses_url":"https://api.github.com/repos/jackc/surus/statuses/07429531f0657b1d5ddf2aefa5fa5ba7ee6caca3","head":{"label":"exit-only:fix-habtm-primary-key","ref":"fix-habtm-primary-key","sha":"07429531f0657b1d5ddf2aefa5fa5ba7ee6caca3","user":{"login":"exit-only","id":1661773,"avatar_url":"https://avatars.githubusercontent.com/u/1661773?v=3","gravatar_id":"","url":"https://api.github.com/users/exit-only","html_url":"https://github.com/exit-only","followers_url":"https://api.github.com/users/exit-only/followers","following_url":"https://api.github.com/users/exit-only/following{/other_user}","gists_url":"https://api.github.com/users/exit-only/gists{/gist_id}","starred_url":"https://api.github.com/users/exit-only/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exit-only/subscriptions","organizations_url":"https://api.github.com/users/exit-only/orgs","repos_url":"https://api.github.com/users/exit-only/repos","events_url":"https://api.github.com/users/exit-only/events{/privacy}","received_events_url":"https://api.github.com/users/exit-only/received_events","type":"User","site_admin":false},"repo":{"id":72767942,"name":"surus","full_name":"exit-only/surus","owner":{"login":"exit-only","id":1661773,"avatar_url":"https://avatars.githubusercontent.com/u/1661773?v=3","gravatar_id":"","url":"https://api.github.com/users/exit-only","html_url":"https://github.com/exit-only","followers_url":"https://api.github.com/users/exit-only/followers","following_url":"https://api.github.com/users/exit-only/following{/other_user}","gists_url":"https://api.github.com/users/exit-only/gists{/gist_id}","starred_url":"https://api.github.com/users/exit-only/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exit-only/subscriptions","organizations_url":"https://api.github.com/users/exit-only/orgs","repos_url":"https://api.github.com/users/exit-only/repos","events_url":"https://api.github.com/users/exit-only/events{/privacy}","received_events_url":"https://api.github.com/users/exit-only/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/exit-only/surus","description":"PostgreSQL extensions for ActiveRecord","fork":true,"url":"https://api.github.com/repos/exit-only/surus","forks_url":"https://api.github.com/repos/exit-only/surus/forks","keys_url":"https://api.github.com/repos/exit-only/surus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exit-only/surus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exit-only/surus/teams","hooks_url":"https://api.github.com/repos/exit-only/surus/hooks","issue_events_url":"https://api.github.com/repos/exit-only/surus/issues/events{/number}","events_url":"https://api.github.com/repos/exit-only/surus/events","assignees_url":"https://api.github.com/repos/exit-only/surus/assignees{/user}","branches_url":"https://api.github.com/repos/exit-only/surus/branches{/branch}","tags_url":"https://api.github.com/repos/exit-only/surus/tags","blobs_url":"https://api.github.com/repos/exit-only/surus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exit-only/surus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exit-only/surus/git/refs{/sha}","trees_url":"https://api.github.com/repos/exit-only/surus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exit-only/surus/statuses/{sha}","languages_url":"https://api.github.com/repos/exit-only/surus/languages","stargazers_url":"https://api.github.com/repos/exit-only/surus/stargazers","contributors_url":"https://api.github.com/repos/exit-only/surus/contributors","subscribers_url":"https://api.github.com/repos/exit-only/surus/subscribers","subscription_url":"https://api.github.com/repos/exit-only/surus/subscription","commits_url":"https://api.github.com/repos/exit-only/surus/commits{/sha}","git_commits_url":"https://api.github.com/repos/exit-only/surus/git/commits{/sha}","comments_url":"https://api.github.com/repos/exit-only/surus/comments{/number}","issue_comment_url":"https://api.github.com/repos/exit-only/surus/issues/comments{/number}","contents_url":"https://api.github.com/repos/exit-only/surus/contents/{+path}","compare_url":"https://api.github.com/repos/exit-only/surus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exit-only/surus/merges","archive_url":"https://api.github.com/repos/exit-only/surus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exit-only/surus/downloads","issues_url":"https://api.github.com/repos/exit-only/surus/issues{/number}","pulls_url":"https://api.github.com/repos/exit-only/surus/pulls{/number}","milestones_url":"https://api.github.com/repos/exit-only/surus/milestones{/number}","notifications_url":"https://api.github.com/repos/exit-only/surus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exit-only/surus/labels{/name}","releases_url":"https://api.github.com/repos/exit-only/surus/releases{/id}","deployments_url":"https://api.github.com/repos/exit-only/surus/deployments","created_at":"2016-11-03T17:06:09Z","updated_at":"2016-11-03T17:06:10Z","pushed_at":"2016-11-03T17:09:00Z","git_url":"git://github.com/exit-only/surus.git","ssh_url":"git@github.com:exit-only/surus.git","clone_url":"https://github.com/exit-only/surus.git","svn_url":"https://github.com/exit-only/surus","homepage":"","size":182,"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":"jackc:master","ref":"master","sha":"340b138da8d25630d27600302e113ea99491ed56","user":{"login":"jackc","id":94130,"avatar_url":"https://avatars.githubusercontent.com/u/94130?v=3","gravatar_id":"","url":"https://api.github.com/users/jackc","html_url":"https://github.com/jackc","followers_url":"https://api.github.com/users/jackc/followers","following_url":"https://api.github.com/users/jackc/following{/other_user}","gists_url":"https://api.github.com/users/jackc/gists{/gist_id}","starred_url":"https://api.github.com/users/jackc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackc/subscriptions","organizations_url":"https://api.github.com/users/jackc/orgs","repos_url":"https://api.github.com/users/jackc/repos","events_url":"https://api.github.com/users/jackc/events{/privacy}","received_events_url":"https://api.github.com/users/jackc/received_events","type":"User","site_admin":false},"repo":{"id":3321682,"name":"surus","full_name":"jackc/surus","owner":{"login":"jackc","id":94130,"avatar_url":"https://avatars.githubusercontent.com/u/94130?v=3","gravatar_id":"","url":"https://api.github.com/users/jackc","html_url":"https://github.com/jackc","followers_url":"https://api.github.com/users/jackc/followers","following_url":"https://api.github.com/users/jackc/following{/other_user}","gists_url":"https://api.github.com/users/jackc/gists{/gist_id}","starred_url":"https://api.github.com/users/jackc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackc/subscriptions","organizations_url":"https://api.github.com/users/jackc/orgs","repos_url":"https://api.github.com/users/jackc/repos","events_url":"https://api.github.com/users/jackc/events{/privacy}","received_events_url":"https://api.github.com/users/jackc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackc/surus","description":"PostgreSQL extensions for ActiveRecord","fork":false,"url":"https://api.github.com/repos/jackc/surus","forks_url":"https://api.github.com/repos/jackc/surus/forks","keys_url":"https://api.github.com/repos/jackc/surus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackc/surus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackc/surus/teams","hooks_url":"https://api.github.com/repos/jackc/surus/hooks","issue_events_url":"https://api.github.com/repos/jackc/surus/issues/events{/number}","events_url":"https://api.github.com/repos/jackc/surus/events","assignees_url":"https://api.github.com/repos/jackc/surus/assignees{/user}","branches_url":"https://api.github.com/repos/jackc/surus/branches{/branch}","tags_url":"https://api.github.com/repos/jackc/surus/tags","blobs_url":"https://api.github.com/repos/jackc/surus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackc/surus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackc/surus/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackc/surus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackc/surus/statuses/{sha}","languages_url":"https://api.github.com/repos/jackc/surus/languages","stargazers_url":"https://api.github.com/repos/jackc/surus/stargazers","contributors_url":"https://api.github.com/repos/jackc/surus/contributors","subscribers_url":"https://api.github.com/repos/jackc/surus/subscribers","subscription_url":"https://api.github.com/repos/jackc/surus/subscription","commits_url":"https://api.github.com/repos/jackc/surus/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackc/surus/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackc/surus/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackc/surus/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackc/surus/contents/{+path}","compare_url":"https://api.github.com/repos/jackc/surus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackc/surus/merges","archive_url":"https://api.github.com/repos/jackc/surus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackc/surus/downloads","issues_url":"https://api.github.com/repos/jackc/surus/issues{/number}","pulls_url":"https://api.github.com/repos/jackc/surus/pulls{/number}","milestones_url":"https://api.github.com/repos/jackc/surus/milestones{/number}","notifications_url":"https://api.github.com/repos/jackc/surus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackc/surus/labels{/name}","releases_url":"https://api.github.com/repos/jackc/surus/releases{/id}","deployments_url":"https://api.github.com/repos/jackc/surus/deployments","created_at":"2012-02-01T03:48:45Z","updated_at":"2016-10-27T13:00:17Z","pushed_at":"2016-11-03T17:11:43Z","git_url":"git://github.com/jackc/surus.git","ssh_url":"git@github.com:jackc/surus.git","clone_url":"https://github.com/jackc/surus.git","svn_url":"https://github.com/jackc/surus","homepage":"","size":182,"stargazers_count":335,"watchers_count":335,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":2,"forks":29,"open_issues":2,"watchers":335,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jackc/surus/pulls/33"},"html":{"href":"https://github.com/jackc/surus/pull/33"},"issue":{"href":"https://api.github.com/repos/jackc/surus/issues/33"},"comments":{"href":"https://api.github.com/repos/jackc/surus/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/jackc/surus/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/jackc/surus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jackc/surus/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/jackc/surus/statuses/07429531f0657b1d5ddf2aefa5fa5ba7ee6caca3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"exit-only"}}