{"action":"created","comment":{"url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/comments/30994829","id":30994829,"diff_hunk":"@@ -0,0 +1,30 @@\n+class User < ActiveRecord::Base\n+  has_secure_password\n+\n+  has_many :questions\n+  has_many :answers, foreign_key: 'author_id'\n+  has_many :comments, foreign_key: 'author_id'\n+  has_many :votes, foreign_key: 'voter'\n+\n+  validates :username, presence: true, uniqueness: true\n+  validates :email, presence: true, format: { with: /\\A([^@\\s]+)@((?:[-a-z0-9]+\\.)+[a-z]{2,})\\z/i, on: :create }\n+  validates :password_digest, presence: true\n+\n+  def my_answers","path":"app/models/user.rb","position":13,"original_position":13,"commit_id":"02754e057d6c6a4155a6424b7a8627613be84dee","original_commit_id":"02754e057d6c6a4155a6424b7a8627613be84dee","user":{"login":"stevecass","id":1823156,"avatar_url":"https://avatars.githubusercontent.com/u/1823156?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecass","html_url":"https://github.com/stevecass","followers_url":"https://api.github.com/users/stevecass/followers","following_url":"https://api.github.com/users/stevecass/following{/other_user}","gists_url":"https://api.github.com/users/stevecass/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecass/subscriptions","organizations_url":"https://api.github.com/users/stevecass/orgs","repos_url":"https://api.github.com/users/stevecass/repos","events_url":"https://api.github.com/users/stevecass/events{/privacy}","received_events_url":"https://api.github.com/users/stevecass/received_events","type":"User","site_admin":false},"body":"name these to make explicit that they are a count rather than a collection","created_at":"2015-05-25T21:07:29Z","updated_at":"2015-05-25T21:07:29Z","html_url":"https://github.com/TTrinkle/Wack-Overflo/pull/57#discussion_r30994829","pull_request_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/comments/30994829"},"html":{"href":"https://github.com/TTrinkle/Wack-Overflo/pull/57#discussion_r30994829"},"pull_request":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57","id":36156888,"html_url":"https://github.com/TTrinkle/Wack-Overflo/pull/57","diff_url":"https://github.com/TTrinkle/Wack-Overflo/pull/57.diff","patch_url":"https://github.com/TTrinkle/Wack-Overflo/pull/57.patch","issue_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/57","number":57,"state":"open","locked":false,"title":"Do not merge - Review","user":{"login":"stevecass","id":1823156,"avatar_url":"https://avatars.githubusercontent.com/u/1823156?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecass","html_url":"https://github.com/stevecass","followers_url":"https://api.github.com/users/stevecass/followers","following_url":"https://api.github.com/users/stevecass/following{/other_user}","gists_url":"https://api.github.com/users/stevecass/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecass/subscriptions","organizations_url":"https://api.github.com/users/stevecass/orgs","repos_url":"https://api.github.com/users/stevecass/repos","events_url":"https://api.github.com/users/stevecass/events{/privacy}","received_events_url":"https://api.github.com/users/stevecass/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-25T20:36:58Z","updated_at":"2015-05-25T21:07:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4189d159ff113c9db8a819724f238a4a9f661443","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57/commits","review_comments_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57/comments","review_comment_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/57/comments","statuses_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/statuses/02754e057d6c6a4155a6424b7a8627613be84dee","head":{"label":"TTrinkle:review","ref":"review","sha":"02754e057d6c6a4155a6424b7a8627613be84dee","user":{"login":"TTrinkle","id":10702450,"avatar_url":"https://avatars.githubusercontent.com/u/10702450?v=3","gravatar_id":"","url":"https://api.github.com/users/TTrinkle","html_url":"https://github.com/TTrinkle","followers_url":"https://api.github.com/users/TTrinkle/followers","following_url":"https://api.github.com/users/TTrinkle/following{/other_user}","gists_url":"https://api.github.com/users/TTrinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/TTrinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTrinkle/subscriptions","organizations_url":"https://api.github.com/users/TTrinkle/orgs","repos_url":"https://api.github.com/users/TTrinkle/repos","events_url":"https://api.github.com/users/TTrinkle/events{/privacy}","received_events_url":"https://api.github.com/users/TTrinkle/received_events","type":"User","site_admin":false},"repo":{"id":36036681,"name":"Wack-Overflo","full_name":"TTrinkle/Wack-Overflo","owner":{"login":"TTrinkle","id":10702450,"avatar_url":"https://avatars.githubusercontent.com/u/10702450?v=3","gravatar_id":"","url":"https://api.github.com/users/TTrinkle","html_url":"https://github.com/TTrinkle","followers_url":"https://api.github.com/users/TTrinkle/followers","following_url":"https://api.github.com/users/TTrinkle/following{/other_user}","gists_url":"https://api.github.com/users/TTrinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/TTrinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTrinkle/subscriptions","organizations_url":"https://api.github.com/users/TTrinkle/orgs","repos_url":"https://api.github.com/users/TTrinkle/repos","events_url":"https://api.github.com/users/TTrinkle/events{/privacy}","received_events_url":"https://api.github.com/users/TTrinkle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TTrinkle/Wack-Overflo","description":"","fork":false,"url":"https://api.github.com/repos/TTrinkle/Wack-Overflo","forks_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/forks","keys_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/teams","hooks_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/hooks","issue_events_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/events{/number}","events_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/events","assignees_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/assignees{/user}","branches_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/branches{/branch}","tags_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/tags","blobs_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/refs{/sha}","trees_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/statuses/{sha}","languages_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/languages","stargazers_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/stargazers","contributors_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/contributors","subscribers_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/subscribers","subscription_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/subscription","commits_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/commits{/sha}","git_commits_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/commits{/sha}","comments_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/comments{/number}","issue_comment_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/comments{/number}","contents_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/contents/{+path}","compare_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/merges","archive_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/downloads","issues_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues{/number}","pulls_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls{/number}","milestones_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/milestones{/number}","notifications_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/labels{/name}","releases_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/releases{/id}","created_at":"2015-05-21T20:49:40Z","updated_at":"2015-05-21T20:50:12Z","pushed_at":"2015-05-25T20:36:59Z","git_url":"git://github.com/TTrinkle/Wack-Overflo.git","ssh_url":"git@github.com:TTrinkle/Wack-Overflo.git","clone_url":"https://github.com/TTrinkle/Wack-Overflo.git","svn_url":"https://github.com/TTrinkle/Wack-Overflo","homepage":null,"size":845,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"TTrinkle:review_base","ref":"review_base","sha":"c38a2e98fe72604618efda9b431b96758f62565d","user":{"login":"TTrinkle","id":10702450,"avatar_url":"https://avatars.githubusercontent.com/u/10702450?v=3","gravatar_id":"","url":"https://api.github.com/users/TTrinkle","html_url":"https://github.com/TTrinkle","followers_url":"https://api.github.com/users/TTrinkle/followers","following_url":"https://api.github.com/users/TTrinkle/following{/other_user}","gists_url":"https://api.github.com/users/TTrinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/TTrinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTrinkle/subscriptions","organizations_url":"https://api.github.com/users/TTrinkle/orgs","repos_url":"https://api.github.com/users/TTrinkle/repos","events_url":"https://api.github.com/users/TTrinkle/events{/privacy}","received_events_url":"https://api.github.com/users/TTrinkle/received_events","type":"User","site_admin":false},"repo":{"id":36036681,"name":"Wack-Overflo","full_name":"TTrinkle/Wack-Overflo","owner":{"login":"TTrinkle","id":10702450,"avatar_url":"https://avatars.githubusercontent.com/u/10702450?v=3","gravatar_id":"","url":"https://api.github.com/users/TTrinkle","html_url":"https://github.com/TTrinkle","followers_url":"https://api.github.com/users/TTrinkle/followers","following_url":"https://api.github.com/users/TTrinkle/following{/other_user}","gists_url":"https://api.github.com/users/TTrinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/TTrinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TTrinkle/subscriptions","organizations_url":"https://api.github.com/users/TTrinkle/orgs","repos_url":"https://api.github.com/users/TTrinkle/repos","events_url":"https://api.github.com/users/TTrinkle/events{/privacy}","received_events_url":"https://api.github.com/users/TTrinkle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TTrinkle/Wack-Overflo","description":"","fork":false,"url":"https://api.github.com/repos/TTrinkle/Wack-Overflo","forks_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/forks","keys_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/teams","hooks_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/hooks","issue_events_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/events{/number}","events_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/events","assignees_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/assignees{/user}","branches_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/branches{/branch}","tags_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/tags","blobs_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/refs{/sha}","trees_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/statuses/{sha}","languages_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/languages","stargazers_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/stargazers","contributors_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/contributors","subscribers_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/subscribers","subscription_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/subscription","commits_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/commits{/sha}","git_commits_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/git/commits{/sha}","comments_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/comments{/number}","issue_comment_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/comments{/number}","contents_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/contents/{+path}","compare_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/merges","archive_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/downloads","issues_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues{/number}","pulls_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls{/number}","milestones_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/milestones{/number}","notifications_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/labels{/name}","releases_url":"https://api.github.com/repos/TTrinkle/Wack-Overflo/releases{/id}","created_at":"2015-05-21T20:49:40Z","updated_at":"2015-05-21T20:50:12Z","pushed_at":"2015-05-25T20:36:59Z","git_url":"git://github.com/TTrinkle/Wack-Overflo.git","ssh_url":"git@github.com:TTrinkle/Wack-Overflo.git","clone_url":"https://github.com/TTrinkle/Wack-Overflo.git","svn_url":"https://github.com/TTrinkle/Wack-Overflo","homepage":null,"size":845,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57"},"html":{"href":"https://github.com/TTrinkle/Wack-Overflo/pull/57"},"issue":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/57"},"comments":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/TTrinkle/Wack-Overflo/statuses/02754e057d6c6a4155a6424b7a8627613be84dee"}}}}