{"action":"created","comment":{"url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments/90266934","pull_request_review_id":10788281,"id":90266934,"diff_hunk":"@@ -0,0 +1,48 @@\n+module Votable\n+  extend ActiveSupport::Concern\n+\n+  included do\n+    has_many :attachments, as: :attachmentable, dependent: :destroy\n+    has_many :votes, as: :votable, dependent: :destroy\n+    belongs_to :user\n+\n+    accepts_nested_attributes_for :attachments, reject_if: :all_blank, allow_destroy: true\n+    accepts_nested_attributes_for :votes","path":"app/models/concerns/votable.rb","position":10,"original_position":10,"commit_id":"6265c6582e2cdd78b84adaf77f20b73271243a96","original_commit_id":"6265c6582e2cdd78b84adaf77f20b73271243a96","user":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"body":"What do you mean?\r\n","created_at":"2016-11-30T16:15:22Z","updated_at":"2016-11-30T16:15:23Z","html_url":"https://github.com/pedrogabriel69/sof/pull/7#discussion_r90266934","pull_request_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments/90266934"},"html":{"href":"https://github.com/pedrogabriel69/sof/pull/7#discussion_r90266934"},"pull_request":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/7","id":95737024,"html_url":"https://github.com/pedrogabriel69/sof/pull/7","diff_url":"https://github.com/pedrogabriel69/sof/pull/7.diff","patch_url":"https://github.com/pedrogabriel69/sof/pull/7.patch","issue_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/7","number":7,"state":"open","locked":false,"title":"Les9","user":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-29T17:21:16Z","updated_at":"2016-11-30T16:15:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15b465252e8505cace1010b07af68fb9ab38aff0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/7/commits","review_comments_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/7/comments","review_comment_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/7/comments","statuses_url":"https://api.github.com/repos/pedrogabriel69/sof/statuses/6265c6582e2cdd78b84adaf77f20b73271243a96","head":{"label":"pedrogabriel69:les9","ref":"les9","sha":"6265c6582e2cdd78b84adaf77f20b73271243a96","user":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"repo":{"id":73239865,"name":"sof","full_name":"pedrogabriel69/sof","owner":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pedrogabriel69/sof","description":"Clone stackoverflow","fork":false,"url":"https://api.github.com/repos/pedrogabriel69/sof","forks_url":"https://api.github.com/repos/pedrogabriel69/sof/forks","keys_url":"https://api.github.com/repos/pedrogabriel69/sof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedrogabriel69/sof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedrogabriel69/sof/teams","hooks_url":"https://api.github.com/repos/pedrogabriel69/sof/hooks","issue_events_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/events{/number}","events_url":"https://api.github.com/repos/pedrogabriel69/sof/events","assignees_url":"https://api.github.com/repos/pedrogabriel69/sof/assignees{/user}","branches_url":"https://api.github.com/repos/pedrogabriel69/sof/branches{/branch}","tags_url":"https://api.github.com/repos/pedrogabriel69/sof/tags","blobs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedrogabriel69/sof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedrogabriel69/sof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedrogabriel69/sof/statuses/{sha}","languages_url":"https://api.github.com/repos/pedrogabriel69/sof/languages","stargazers_url":"https://api.github.com/repos/pedrogabriel69/sof/stargazers","contributors_url":"https://api.github.com/repos/pedrogabriel69/sof/contributors","subscribers_url":"https://api.github.com/repos/pedrogabriel69/sof/subscribers","subscription_url":"https://api.github.com/repos/pedrogabriel69/sof/subscription","commits_url":"https://api.github.com/repos/pedrogabriel69/sof/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedrogabriel69/sof/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedrogabriel69/sof/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedrogabriel69/sof/contents/{+path}","compare_url":"https://api.github.com/repos/pedrogabriel69/sof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedrogabriel69/sof/merges","archive_url":"https://api.github.com/repos/pedrogabriel69/sof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedrogabriel69/sof/downloads","issues_url":"https://api.github.com/repos/pedrogabriel69/sof/issues{/number}","pulls_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls{/number}","milestones_url":"https://api.github.com/repos/pedrogabriel69/sof/milestones{/number}","notifications_url":"https://api.github.com/repos/pedrogabriel69/sof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedrogabriel69/sof/labels{/name}","releases_url":"https://api.github.com/repos/pedrogabriel69/sof/releases{/id}","deployments_url":"https://api.github.com/repos/pedrogabriel69/sof/deployments","created_at":"2016-11-09T00:41:56Z","updated_at":"2016-11-09T00:43:18Z","pushed_at":"2016-11-30T04:15:39Z","git_url":"git://github.com/pedrogabriel69/sof.git","ssh_url":"git@github.com:pedrogabriel69/sof.git","clone_url":"https://github.com/pedrogabriel69/sof.git","svn_url":"https://github.com/pedrogabriel69/sof","homepage":"","size":170,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"pedrogabriel69:master","ref":"master","sha":"ae584fceb71207c854d341187931b65a59085587","user":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"repo":{"id":73239865,"name":"sof","full_name":"pedrogabriel69/sof","owner":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pedrogabriel69/sof","description":"Clone stackoverflow","fork":false,"url":"https://api.github.com/repos/pedrogabriel69/sof","forks_url":"https://api.github.com/repos/pedrogabriel69/sof/forks","keys_url":"https://api.github.com/repos/pedrogabriel69/sof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedrogabriel69/sof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedrogabriel69/sof/teams","hooks_url":"https://api.github.com/repos/pedrogabriel69/sof/hooks","issue_events_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/events{/number}","events_url":"https://api.github.com/repos/pedrogabriel69/sof/events","assignees_url":"https://api.github.com/repos/pedrogabriel69/sof/assignees{/user}","branches_url":"https://api.github.com/repos/pedrogabriel69/sof/branches{/branch}","tags_url":"https://api.github.com/repos/pedrogabriel69/sof/tags","blobs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedrogabriel69/sof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedrogabriel69/sof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedrogabriel69/sof/statuses/{sha}","languages_url":"https://api.github.com/repos/pedrogabriel69/sof/languages","stargazers_url":"https://api.github.com/repos/pedrogabriel69/sof/stargazers","contributors_url":"https://api.github.com/repos/pedrogabriel69/sof/contributors","subscribers_url":"https://api.github.com/repos/pedrogabriel69/sof/subscribers","subscription_url":"https://api.github.com/repos/pedrogabriel69/sof/subscription","commits_url":"https://api.github.com/repos/pedrogabriel69/sof/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedrogabriel69/sof/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedrogabriel69/sof/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedrogabriel69/sof/contents/{+path}","compare_url":"https://api.github.com/repos/pedrogabriel69/sof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedrogabriel69/sof/merges","archive_url":"https://api.github.com/repos/pedrogabriel69/sof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedrogabriel69/sof/downloads","issues_url":"https://api.github.com/repos/pedrogabriel69/sof/issues{/number}","pulls_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls{/number}","milestones_url":"https://api.github.com/repos/pedrogabriel69/sof/milestones{/number}","notifications_url":"https://api.github.com/repos/pedrogabriel69/sof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedrogabriel69/sof/labels{/name}","releases_url":"https://api.github.com/repos/pedrogabriel69/sof/releases{/id}","deployments_url":"https://api.github.com/repos/pedrogabriel69/sof/deployments","created_at":"2016-11-09T00:41:56Z","updated_at":"2016-11-09T00:43:18Z","pushed_at":"2016-11-30T04:15:39Z","git_url":"git://github.com/pedrogabriel69/sof.git","ssh_url":"git@github.com:pedrogabriel69/sof.git","clone_url":"https://github.com/pedrogabriel69/sof.git","svn_url":"https://github.com/pedrogabriel69/sof","homepage":"","size":170,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/pedrogabriel69/sof/pulls/7"},"html":{"href":"https://github.com/pedrogabriel69/sof/pull/7"},"issue":{"href":"https://api.github.com/repos/pedrogabriel69/sof/issues/7"},"comments":{"href":"https://api.github.com/repos/pedrogabriel69/sof/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/pedrogabriel69/sof/statuses/6265c6582e2cdd78b84adaf77f20b73271243a96"}}}}
{"actor":{"display_login":"pedrogabriel69"}}