{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/rzane/baby_squeel/pulls/28","id":84724273,"html_url":"https://github.com/rzane/baby_squeel/pull/28","diff_url":"https://github.com/rzane/baby_squeel/pull/28.diff","patch_url":"https://github.com/rzane/baby_squeel/pull/28.patch","issue_url":"https://api.github.com/repos/rzane/baby_squeel/issues/28","number":28,"state":"open","locked":false,"title":"Add polymorphic support through chaining","user":{"login":"rzane","id":2731572,"avatar_url":"https://avatars.githubusercontent.com/u/2731572?v=3","gravatar_id":"","url":"https://api.github.com/users/rzane","html_url":"https://github.com/rzane","followers_url":"https://api.github.com/users/rzane/followers","following_url":"https://api.github.com/users/rzane/following{/other_user}","gists_url":"https://api.github.com/users/rzane/gists{/gist_id}","starred_url":"https://api.github.com/users/rzane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzane/subscriptions","organizations_url":"https://api.github.com/users/rzane/orgs","repos_url":"https://api.github.com/users/rzane/repos","events_url":"https://api.github.com/users/rzane/events{/privacy}","received_events_url":"https://api.github.com/users/rzane/received_events","type":"User","site_admin":false},"body":"This is a much simpler implementation that allows the semantics of a \"stub\" to remain the same.","created_at":"2016-09-09T21:44:12Z","updated_at":"2016-09-09T21:44:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rzane/baby_squeel/pulls/28/commits","review_comments_url":"https://api.github.com/repos/rzane/baby_squeel/pulls/28/comments","review_comment_url":"https://api.github.com/repos/rzane/baby_squeel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rzane/baby_squeel/issues/28/comments","statuses_url":"https://api.github.com/repos/rzane/baby_squeel/statuses/23aaa0c16d0360bda15a8e80a4fda93088dc924b","head":{"label":"rzane:polymorphic-joins-2","ref":"polymorphic-joins-2","sha":"23aaa0c16d0360bda15a8e80a4fda93088dc924b","user":{"login":"rzane","id":2731572,"avatar_url":"https://avatars.githubusercontent.com/u/2731572?v=3","gravatar_id":"","url":"https://api.github.com/users/rzane","html_url":"https://github.com/rzane","followers_url":"https://api.github.com/users/rzane/followers","following_url":"https://api.github.com/users/rzane/following{/other_user}","gists_url":"https://api.github.com/users/rzane/gists{/gist_id}","starred_url":"https://api.github.com/users/rzane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzane/subscriptions","organizations_url":"https://api.github.com/users/rzane/orgs","repos_url":"https://api.github.com/users/rzane/repos","events_url":"https://api.github.com/users/rzane/events{/privacy}","received_events_url":"https://api.github.com/users/rzane/received_events","type":"User","site_admin":false},"repo":{"id":53811164,"name":"baby_squeel","full_name":"rzane/baby_squeel","owner":{"login":"rzane","id":2731572,"avatar_url":"https://avatars.githubusercontent.com/u/2731572?v=3","gravatar_id":"","url":"https://api.github.com/users/rzane","html_url":"https://github.com/rzane","followers_url":"https://api.github.com/users/rzane/followers","following_url":"https://api.github.com/users/rzane/following{/other_user}","gists_url":"https://api.github.com/users/rzane/gists{/gist_id}","starred_url":"https://api.github.com/users/rzane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzane/subscriptions","organizations_url":"https://api.github.com/users/rzane/orgs","repos_url":"https://api.github.com/users/rzane/repos","events_url":"https://api.github.com/users/rzane/events{/privacy}","received_events_url":"https://api.github.com/users/rzane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rzane/baby_squeel","description":":pig: An expressive query DSL for Active Record 4 and 5","fork":false,"url":"https://api.github.com/repos/rzane/baby_squeel","forks_url":"https://api.github.com/repos/rzane/baby_squeel/forks","keys_url":"https://api.github.com/repos/rzane/baby_squeel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rzane/baby_squeel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rzane/baby_squeel/teams","hooks_url":"https://api.github.com/repos/rzane/baby_squeel/hooks","issue_events_url":"https://api.github.com/repos/rzane/baby_squeel/issues/events{/number}","events_url":"https://api.github.com/repos/rzane/baby_squeel/events","assignees_url":"https://api.github.com/repos/rzane/baby_squeel/assignees{/user}","branches_url":"https://api.github.com/repos/rzane/baby_squeel/branches{/branch}","tags_url":"https://api.github.com/repos/rzane/baby_squeel/tags","blobs_url":"https://api.github.com/repos/rzane/baby_squeel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rzane/baby_squeel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rzane/baby_squeel/git/refs{/sha}","trees_url":"https://api.github.com/repos/rzane/baby_squeel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rzane/baby_squeel/statuses/{sha}","languages_url":"https://api.github.com/repos/rzane/baby_squeel/languages","stargazers_url":"https://api.github.com/repos/rzane/baby_squeel/stargazers","contributors_url":"https://api.github.com/repos/rzane/baby_squeel/contributors","subscribers_url":"https://api.github.com/repos/rzane/baby_squeel/subscribers","subscription_url":"https://api.github.com/repos/rzane/baby_squeel/subscription","commits_url":"https://api.github.com/repos/rzane/baby_squeel/commits{/sha}","git_commits_url":"https://api.github.com/repos/rzane/baby_squeel/git/commits{/sha}","comments_url":"https://api.github.com/repos/rzane/baby_squeel/comments{/number}","issue_comment_url":"https://api.github.com/repos/rzane/baby_squeel/issues/comments{/number}","contents_url":"https://api.github.com/repos/rzane/baby_squeel/contents/{+path}","compare_url":"https://api.github.com/repos/rzane/baby_squeel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rzane/baby_squeel/merges","archive_url":"https://api.github.com/repos/rzane/baby_squeel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rzane/baby_squeel/downloads","issues_url":"https://api.github.com/repos/rzane/baby_squeel/issues{/number}","pulls_url":"https://api.github.com/repos/rzane/baby_squeel/pulls{/number}","milestones_url":"https://api.github.com/repos/rzane/baby_squeel/milestones{/number}","notifications_url":"https://api.github.com/repos/rzane/baby_squeel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rzane/baby_squeel/labels{/name}","releases_url":"https://api.github.com/repos/rzane/baby_squeel/releases{/id}","deployments_url":"https://api.github.com/repos/rzane/baby_squeel/deployments","created_at":"2016-03-13T22:30:58Z","updated_at":"2016-08-31T16:55:56Z","pushed_at":"2016-09-09T21:42:41Z","git_url":"git://github.com/rzane/baby_squeel.git","ssh_url":"git@github.com:rzane/baby_squeel.git","clone_url":"https://github.com/rzane/baby_squeel.git","svn_url":"https://github.com/rzane/baby_squeel","homepage":"","size":182,"stargazers_count":52,"watchers_count":52,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":52,"default_branch":"master"}},"base":{"label":"rzane:master","ref":"master","sha":"69e39c89bdd9340b29701fb43344c18b25489371","user":{"login":"rzane","id":2731572,"avatar_url":"https://avatars.githubusercontent.com/u/2731572?v=3","gravatar_id":"","url":"https://api.github.com/users/rzane","html_url":"https://github.com/rzane","followers_url":"https://api.github.com/users/rzane/followers","following_url":"https://api.github.com/users/rzane/following{/other_user}","gists_url":"https://api.github.com/users/rzane/gists{/gist_id}","starred_url":"https://api.github.com/users/rzane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzane/subscriptions","organizations_url":"https://api.github.com/users/rzane/orgs","repos_url":"https://api.github.com/users/rzane/repos","events_url":"https://api.github.com/users/rzane/events{/privacy}","received_events_url":"https://api.github.com/users/rzane/received_events","type":"User","site_admin":false},"repo":{"id":53811164,"name":"baby_squeel","full_name":"rzane/baby_squeel","owner":{"login":"rzane","id":2731572,"avatar_url":"https://avatars.githubusercontent.com/u/2731572?v=3","gravatar_id":"","url":"https://api.github.com/users/rzane","html_url":"https://github.com/rzane","followers_url":"https://api.github.com/users/rzane/followers","following_url":"https://api.github.com/users/rzane/following{/other_user}","gists_url":"https://api.github.com/users/rzane/gists{/gist_id}","starred_url":"https://api.github.com/users/rzane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzane/subscriptions","organizations_url":"https://api.github.com/users/rzane/orgs","repos_url":"https://api.github.com/users/rzane/repos","events_url":"https://api.github.com/users/rzane/events{/privacy}","received_events_url":"https://api.github.com/users/rzane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rzane/baby_squeel","description":":pig: An expressive query DSL for Active Record 4 and 5","fork":false,"url":"https://api.github.com/repos/rzane/baby_squeel","forks_url":"https://api.github.com/repos/rzane/baby_squeel/forks","keys_url":"https://api.github.com/repos/rzane/baby_squeel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rzane/baby_squeel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rzane/baby_squeel/teams","hooks_url":"https://api.github.com/repos/rzane/baby_squeel/hooks","issue_events_url":"https://api.github.com/repos/rzane/baby_squeel/issues/events{/number}","events_url":"https://api.github.com/repos/rzane/baby_squeel/events","assignees_url":"https://api.github.com/repos/rzane/baby_squeel/assignees{/user}","branches_url":"https://api.github.com/repos/rzane/baby_squeel/branches{/branch}","tags_url":"https://api.github.com/repos/rzane/baby_squeel/tags","blobs_url":"https://api.github.com/repos/rzane/baby_squeel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rzane/baby_squeel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rzane/baby_squeel/git/refs{/sha}","trees_url":"https://api.github.com/repos/rzane/baby_squeel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rzane/baby_squeel/statuses/{sha}","languages_url":"https://api.github.com/repos/rzane/baby_squeel/languages","stargazers_url":"https://api.github.com/repos/rzane/baby_squeel/stargazers","contributors_url":"https://api.github.com/repos/rzane/baby_squeel/contributors","subscribers_url":"https://api.github.com/repos/rzane/baby_squeel/subscribers","subscription_url":"https://api.github.com/repos/rzane/baby_squeel/subscription","commits_url":"https://api.github.com/repos/rzane/baby_squeel/commits{/sha}","git_commits_url":"https://api.github.com/repos/rzane/baby_squeel/git/commits{/sha}","comments_url":"https://api.github.com/repos/rzane/baby_squeel/comments{/number}","issue_comment_url":"https://api.github.com/repos/rzane/baby_squeel/issues/comments{/number}","contents_url":"https://api.github.com/repos/rzane/baby_squeel/contents/{+path}","compare_url":"https://api.github.com/repos/rzane/baby_squeel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rzane/baby_squeel/merges","archive_url":"https://api.github.com/repos/rzane/baby_squeel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rzane/baby_squeel/downloads","issues_url":"https://api.github.com/repos/rzane/baby_squeel/issues{/number}","pulls_url":"https://api.github.com/repos/rzane/baby_squeel/pulls{/number}","milestones_url":"https://api.github.com/repos/rzane/baby_squeel/milestones{/number}","notifications_url":"https://api.github.com/repos/rzane/baby_squeel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rzane/baby_squeel/labels{/name}","releases_url":"https://api.github.com/repos/rzane/baby_squeel/releases{/id}","deployments_url":"https://api.github.com/repos/rzane/baby_squeel/deployments","created_at":"2016-03-13T22:30:58Z","updated_at":"2016-08-31T16:55:56Z","pushed_at":"2016-09-09T21:42:41Z","git_url":"git://github.com/rzane/baby_squeel.git","ssh_url":"git@github.com:rzane/baby_squeel.git","clone_url":"https://github.com/rzane/baby_squeel.git","svn_url":"https://github.com/rzane/baby_squeel","homepage":"","size":182,"stargazers_count":52,"watchers_count":52,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rzane/baby_squeel/pulls/28"},"html":{"href":"https://github.com/rzane/baby_squeel/pull/28"},"issue":{"href":"https://api.github.com/repos/rzane/baby_squeel/issues/28"},"comments":{"href":"https://api.github.com/repos/rzane/baby_squeel/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/rzane/baby_squeel/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/rzane/baby_squeel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rzane/baby_squeel/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/rzane/baby_squeel/statuses/23aaa0c16d0360bda15a8e80a4fda93088dc924b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":161,"deletions":15,"changed_files":9}}
{"actor":{"display_login":"rzane"}}