{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/drewolson/blox/pulls/4","id":38662272,"html_url":"https://github.com/drewolson/blox/pull/4","diff_url":"https://github.com/drewolson/blox/pull/4.diff","patch_url":"https://github.com/drewolson/blox/pull/4.patch","issue_url":"https://api.github.com/repos/drewolson/blox/issues/4","number":4,"state":"open","locked":false,"title":"refactor(Blox.CommentController): use assoc to delete comment","user":{"login":"Gazler","id":477511,"avatar_url":"https://avatars.githubusercontent.com/u/477511?v=3","gravatar_id":"","url":"https://api.github.com/users/Gazler","html_url":"https://github.com/Gazler","followers_url":"https://api.github.com/users/Gazler/followers","following_url":"https://api.github.com/users/Gazler/following{/other_user}","gists_url":"https://api.github.com/users/Gazler/gists{/gist_id}","starred_url":"https://api.github.com/users/Gazler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gazler/subscriptions","organizations_url":"https://api.github.com/users/Gazler/orgs","repos_url":"https://api.github.com/users/Gazler/repos","events_url":"https://api.github.com/users/Gazler/events{/privacy}","received_events_url":"https://api.github.com/users/Gazler/received_events","type":"User","site_admin":false},"body":"When deleting the comment, the explicit query has been replaced by one\r\ngenerated using `Ecto.Model.assoc/2`\r\n\r\n > http://hexdocs.pm/ecto/0.12.0/Ecto.Model.html#assoc/2","created_at":"2015-06-26T15:45:43Z","updated_at":"2015-06-26T15:45:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drewolson/blox/pulls/4/commits","review_comments_url":"https://api.github.com/repos/drewolson/blox/pulls/4/comments","review_comment_url":"https://api.github.com/repos/drewolson/blox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drewolson/blox/issues/4/comments","statuses_url":"https://api.github.com/repos/drewolson/blox/statuses/86e3e5d2d90e575058c98b0e9a840ef448f25323","head":{"label":"Gazler:refactor/delete-with-assoc","ref":"refactor/delete-with-assoc","sha":"86e3e5d2d90e575058c98b0e9a840ef448f25323","user":{"login":"Gazler","id":477511,"avatar_url":"https://avatars.githubusercontent.com/u/477511?v=3","gravatar_id":"","url":"https://api.github.com/users/Gazler","html_url":"https://github.com/Gazler","followers_url":"https://api.github.com/users/Gazler/followers","following_url":"https://api.github.com/users/Gazler/following{/other_user}","gists_url":"https://api.github.com/users/Gazler/gists{/gist_id}","starred_url":"https://api.github.com/users/Gazler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gazler/subscriptions","organizations_url":"https://api.github.com/users/Gazler/orgs","repos_url":"https://api.github.com/users/Gazler/repos","events_url":"https://api.github.com/users/Gazler/events{/privacy}","received_events_url":"https://api.github.com/users/Gazler/received_events","type":"User","site_admin":false},"repo":{"id":38117761,"name":"blox","full_name":"Gazler/blox","owner":{"login":"Gazler","id":477511,"avatar_url":"https://avatars.githubusercontent.com/u/477511?v=3","gravatar_id":"","url":"https://api.github.com/users/Gazler","html_url":"https://github.com/Gazler","followers_url":"https://api.github.com/users/Gazler/followers","following_url":"https://api.github.com/users/Gazler/following{/other_user}","gists_url":"https://api.github.com/users/Gazler/gists{/gist_id}","starred_url":"https://api.github.com/users/Gazler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gazler/subscriptions","organizations_url":"https://api.github.com/users/Gazler/orgs","repos_url":"https://api.github.com/users/Gazler/repos","events_url":"https://api.github.com/users/Gazler/events{/privacy}","received_events_url":"https://api.github.com/users/Gazler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gazler/blox","description":"Example app using Phoenix and Ecto. Obviously it's a blog. An ugly one.","fork":true,"url":"https://api.github.com/repos/Gazler/blox","forks_url":"https://api.github.com/repos/Gazler/blox/forks","keys_url":"https://api.github.com/repos/Gazler/blox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gazler/blox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gazler/blox/teams","hooks_url":"https://api.github.com/repos/Gazler/blox/hooks","issue_events_url":"https://api.github.com/repos/Gazler/blox/issues/events{/number}","events_url":"https://api.github.com/repos/Gazler/blox/events","assignees_url":"https://api.github.com/repos/Gazler/blox/assignees{/user}","branches_url":"https://api.github.com/repos/Gazler/blox/branches{/branch}","tags_url":"https://api.github.com/repos/Gazler/blox/tags","blobs_url":"https://api.github.com/repos/Gazler/blox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gazler/blox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gazler/blox/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gazler/blox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gazler/blox/statuses/{sha}","languages_url":"https://api.github.com/repos/Gazler/blox/languages","stargazers_url":"https://api.github.com/repos/Gazler/blox/stargazers","contributors_url":"https://api.github.com/repos/Gazler/blox/contributors","subscribers_url":"https://api.github.com/repos/Gazler/blox/subscribers","subscription_url":"https://api.github.com/repos/Gazler/blox/subscription","commits_url":"https://api.github.com/repos/Gazler/blox/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gazler/blox/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gazler/blox/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gazler/blox/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gazler/blox/contents/{+path}","compare_url":"https://api.github.com/repos/Gazler/blox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gazler/blox/merges","archive_url":"https://api.github.com/repos/Gazler/blox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gazler/blox/downloads","issues_url":"https://api.github.com/repos/Gazler/blox/issues{/number}","pulls_url":"https://api.github.com/repos/Gazler/blox/pulls{/number}","milestones_url":"https://api.github.com/repos/Gazler/blox/milestones{/number}","notifications_url":"https://api.github.com/repos/Gazler/blox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gazler/blox/labels{/name}","releases_url":"https://api.github.com/repos/Gazler/blox/releases{/id}","created_at":"2015-06-26T15:12:39Z","updated_at":"2015-06-26T15:12:39Z","pushed_at":"2015-06-26T15:45:34Z","git_url":"git://github.com/Gazler/blox.git","ssh_url":"git@github.com:Gazler/blox.git","clone_url":"https://github.com/Gazler/blox.git","svn_url":"https://github.com/Gazler/blox","homepage":"","size":282,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"drewolson:master","ref":"master","sha":"60a5952abb7560118b7c527150d58457966dee59","user":{"login":"drewolson","id":3536,"avatar_url":"https://avatars.githubusercontent.com/u/3536?v=3","gravatar_id":"","url":"https://api.github.com/users/drewolson","html_url":"https://github.com/drewolson","followers_url":"https://api.github.com/users/drewolson/followers","following_url":"https://api.github.com/users/drewolson/following{/other_user}","gists_url":"https://api.github.com/users/drewolson/gists{/gist_id}","starred_url":"https://api.github.com/users/drewolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewolson/subscriptions","organizations_url":"https://api.github.com/users/drewolson/orgs","repos_url":"https://api.github.com/users/drewolson/repos","events_url":"https://api.github.com/users/drewolson/events{/privacy}","received_events_url":"https://api.github.com/users/drewolson/received_events","type":"User","site_admin":false},"repo":{"id":31773155,"name":"blox","full_name":"drewolson/blox","owner":{"login":"drewolson","id":3536,"avatar_url":"https://avatars.githubusercontent.com/u/3536?v=3","gravatar_id":"","url":"https://api.github.com/users/drewolson","html_url":"https://github.com/drewolson","followers_url":"https://api.github.com/users/drewolson/followers","following_url":"https://api.github.com/users/drewolson/following{/other_user}","gists_url":"https://api.github.com/users/drewolson/gists{/gist_id}","starred_url":"https://api.github.com/users/drewolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewolson/subscriptions","organizations_url":"https://api.github.com/users/drewolson/orgs","repos_url":"https://api.github.com/users/drewolson/repos","events_url":"https://api.github.com/users/drewolson/events{/privacy}","received_events_url":"https://api.github.com/users/drewolson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drewolson/blox","description":"Example app using Phoenix and Ecto. Obviously it's a blog. An ugly one.","fork":false,"url":"https://api.github.com/repos/drewolson/blox","forks_url":"https://api.github.com/repos/drewolson/blox/forks","keys_url":"https://api.github.com/repos/drewolson/blox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drewolson/blox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drewolson/blox/teams","hooks_url":"https://api.github.com/repos/drewolson/blox/hooks","issue_events_url":"https://api.github.com/repos/drewolson/blox/issues/events{/number}","events_url":"https://api.github.com/repos/drewolson/blox/events","assignees_url":"https://api.github.com/repos/drewolson/blox/assignees{/user}","branches_url":"https://api.github.com/repos/drewolson/blox/branches{/branch}","tags_url":"https://api.github.com/repos/drewolson/blox/tags","blobs_url":"https://api.github.com/repos/drewolson/blox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drewolson/blox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drewolson/blox/git/refs{/sha}","trees_url":"https://api.github.com/repos/drewolson/blox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drewolson/blox/statuses/{sha}","languages_url":"https://api.github.com/repos/drewolson/blox/languages","stargazers_url":"https://api.github.com/repos/drewolson/blox/stargazers","contributors_url":"https://api.github.com/repos/drewolson/blox/contributors","subscribers_url":"https://api.github.com/repos/drewolson/blox/subscribers","subscription_url":"https://api.github.com/repos/drewolson/blox/subscription","commits_url":"https://api.github.com/repos/drewolson/blox/commits{/sha}","git_commits_url":"https://api.github.com/repos/drewolson/blox/git/commits{/sha}","comments_url":"https://api.github.com/repos/drewolson/blox/comments{/number}","issue_comment_url":"https://api.github.com/repos/drewolson/blox/issues/comments{/number}","contents_url":"https://api.github.com/repos/drewolson/blox/contents/{+path}","compare_url":"https://api.github.com/repos/drewolson/blox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drewolson/blox/merges","archive_url":"https://api.github.com/repos/drewolson/blox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drewolson/blox/downloads","issues_url":"https://api.github.com/repos/drewolson/blox/issues{/number}","pulls_url":"https://api.github.com/repos/drewolson/blox/pulls{/number}","milestones_url":"https://api.github.com/repos/drewolson/blox/milestones{/number}","notifications_url":"https://api.github.com/repos/drewolson/blox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drewolson/blox/labels{/name}","releases_url":"https://api.github.com/repos/drewolson/blox/releases{/id}","created_at":"2015-03-06T14:34:25Z","updated_at":"2015-06-25T02:14:19Z","pushed_at":"2015-06-26T15:40:38Z","git_url":"git://github.com/drewolson/blox.git","ssh_url":"git@github.com:drewolson/blox.git","clone_url":"https://github.com/drewolson/blox.git","svn_url":"https://github.com/drewolson/blox","homepage":"","size":282,"stargazers_count":11,"watchers_count":11,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drewolson/blox/pulls/4"},"html":{"href":"https://github.com/drewolson/blox/pull/4"},"issue":{"href":"https://api.github.com/repos/drewolson/blox/issues/4"},"comments":{"href":"https://api.github.com/repos/drewolson/blox/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/drewolson/blox/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/drewolson/blox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drewolson/blox/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/drewolson/blox/statuses/86e3e5d2d90e575058c98b0e9a840ef448f25323"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":6,"changed_files":1}}