{"action":"created","comment":{"url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments/44574862","id":44574862,"diff_hunk":"@@ -0,0 +1,15 @@\n+class Treatments::MassageTrimsController < Treatments::TreatmentsController\n+\n+  def new\n+    @user = user\n+    @treatment = @user.treatments.new","path":"app/controllers/treatments/massage_trims_controller.rb","position":5,"original_position":5,"commit_id":"b22e24a2ab6d297a6145781427381cf818eaf34d","original_commit_id":"b22e24a2ab6d297a6145781427381cf818eaf34d","user":{"login":"bearbarber","id":15681543,"avatar_url":"https://avatars.githubusercontent.com/u/15681543?v=3","gravatar_id":"","url":"https://api.github.com/users/bearbarber","html_url":"https://github.com/bearbarber","followers_url":"https://api.github.com/users/bearbarber/followers","following_url":"https://api.github.com/users/bearbarber/following{/other_user}","gists_url":"https://api.github.com/users/bearbarber/gists{/gist_id}","starred_url":"https://api.github.com/users/bearbarber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearbarber/subscriptions","organizations_url":"https://api.github.com/users/bearbarber/orgs","repos_url":"https://api.github.com/users/bearbarber/repos","events_url":"https://api.github.com/users/bearbarber/events{/privacy}","received_events_url":"https://api.github.com/users/bearbarber/received_events","type":"User","site_admin":false},"body":"Isn't '#build' aliased to '#new'?\r\nhttps://github.com/rails/rails/blob/master/activerecord/lib/active_record/relation.rb#L124","created_at":"2015-11-11T19:30:43Z","updated_at":"2015-11-11T19:30:43Z","html_url":"https://github.com/payrollhero/bearded-shame/pull/17#discussion_r44574862","pull_request_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments/44574862"},"html":{"href":"https://github.com/payrollhero/bearded-shame/pull/17#discussion_r44574862"},"pull_request":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17","id":50356407,"html_url":"https://github.com/payrollhero/bearded-shame/pull/17","diff_url":"https://github.com/payrollhero/bearded-shame/pull/17.diff","patch_url":"https://github.com/payrollhero/bearded-shame/pull/17.patch","issue_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/17","number":17,"state":"open","locked":false,"title":"Bear Barber PR","user":{"login":"bearbarber","id":15681543,"avatar_url":"https://avatars.githubusercontent.com/u/15681543?v=3","gravatar_id":"","url":"https://api.github.com/users/bearbarber","html_url":"https://github.com/bearbarber","followers_url":"https://api.github.com/users/bearbarber/followers","following_url":"https://api.github.com/users/bearbarber/following{/other_user}","gists_url":"https://api.github.com/users/bearbarber/gists{/gist_id}","starred_url":"https://api.github.com/users/bearbarber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearbarber/subscriptions","organizations_url":"https://api.github.com/users/bearbarber/orgs","repos_url":"https://api.github.com/users/bearbarber/repos","events_url":"https://api.github.com/users/bearbarber/events{/privacy}","received_events_url":"https://api.github.com/users/bearbarber/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-11T07:46:44Z","updated_at":"2015-11-11T19:30:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2c318d8038d09be67b69bc973200fdc2c57e95f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17/commits","review_comments_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17/comments","review_comment_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments{/number}","comments_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/17/comments","statuses_url":"https://api.github.com/repos/payrollhero/bearded-shame/statuses/b22e24a2ab6d297a6145781427381cf818eaf34d","head":{"label":"bearbarber:master","ref":"master","sha":"b22e24a2ab6d297a6145781427381cf818eaf34d","user":{"login":"bearbarber","id":15681543,"avatar_url":"https://avatars.githubusercontent.com/u/15681543?v=3","gravatar_id":"","url":"https://api.github.com/users/bearbarber","html_url":"https://github.com/bearbarber","followers_url":"https://api.github.com/users/bearbarber/followers","following_url":"https://api.github.com/users/bearbarber/following{/other_user}","gists_url":"https://api.github.com/users/bearbarber/gists{/gist_id}","starred_url":"https://api.github.com/users/bearbarber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearbarber/subscriptions","organizations_url":"https://api.github.com/users/bearbarber/orgs","repos_url":"https://api.github.com/users/bearbarber/repos","events_url":"https://api.github.com/users/bearbarber/events{/privacy}","received_events_url":"https://api.github.com/users/bearbarber/received_events","type":"User","site_admin":false},"repo":{"id":45653283,"name":"bearded-shame","full_name":"bearbarber/bearded-shame","owner":{"login":"bearbarber","id":15681543,"avatar_url":"https://avatars.githubusercontent.com/u/15681543?v=3","gravatar_id":"","url":"https://api.github.com/users/bearbarber","html_url":"https://github.com/bearbarber","followers_url":"https://api.github.com/users/bearbarber/followers","following_url":"https://api.github.com/users/bearbarber/following{/other_user}","gists_url":"https://api.github.com/users/bearbarber/gists{/gist_id}","starred_url":"https://api.github.com/users/bearbarber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bearbarber/subscriptions","organizations_url":"https://api.github.com/users/bearbarber/orgs","repos_url":"https://api.github.com/users/bearbarber/repos","events_url":"https://api.github.com/users/bearbarber/events{/privacy}","received_events_url":"https://api.github.com/users/bearbarber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bearbarber/bearded-shame","description":"Ignore the title. Github suggested it.","fork":true,"url":"https://api.github.com/repos/bearbarber/bearded-shame","forks_url":"https://api.github.com/repos/bearbarber/bearded-shame/forks","keys_url":"https://api.github.com/repos/bearbarber/bearded-shame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bearbarber/bearded-shame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bearbarber/bearded-shame/teams","hooks_url":"https://api.github.com/repos/bearbarber/bearded-shame/hooks","issue_events_url":"https://api.github.com/repos/bearbarber/bearded-shame/issues/events{/number}","events_url":"https://api.github.com/repos/bearbarber/bearded-shame/events","assignees_url":"https://api.github.com/repos/bearbarber/bearded-shame/assignees{/user}","branches_url":"https://api.github.com/repos/bearbarber/bearded-shame/branches{/branch}","tags_url":"https://api.github.com/repos/bearbarber/bearded-shame/tags","blobs_url":"https://api.github.com/repos/bearbarber/bearded-shame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bearbarber/bearded-shame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bearbarber/bearded-shame/git/refs{/sha}","trees_url":"https://api.github.com/repos/bearbarber/bearded-shame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bearbarber/bearded-shame/statuses/{sha}","languages_url":"https://api.github.com/repos/bearbarber/bearded-shame/languages","stargazers_url":"https://api.github.com/repos/bearbarber/bearded-shame/stargazers","contributors_url":"https://api.github.com/repos/bearbarber/bearded-shame/contributors","subscribers_url":"https://api.github.com/repos/bearbarber/bearded-shame/subscribers","subscription_url":"https://api.github.com/repos/bearbarber/bearded-shame/subscription","commits_url":"https://api.github.com/repos/bearbarber/bearded-shame/commits{/sha}","git_commits_url":"https://api.github.com/repos/bearbarber/bearded-shame/git/commits{/sha}","comments_url":"https://api.github.com/repos/bearbarber/bearded-shame/comments{/number}","issue_comment_url":"https://api.github.com/repos/bearbarber/bearded-shame/issues/comments{/number}","contents_url":"https://api.github.com/repos/bearbarber/bearded-shame/contents/{+path}","compare_url":"https://api.github.com/repos/bearbarber/bearded-shame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bearbarber/bearded-shame/merges","archive_url":"https://api.github.com/repos/bearbarber/bearded-shame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bearbarber/bearded-shame/downloads","issues_url":"https://api.github.com/repos/bearbarber/bearded-shame/issues{/number}","pulls_url":"https://api.github.com/repos/bearbarber/bearded-shame/pulls{/number}","milestones_url":"https://api.github.com/repos/bearbarber/bearded-shame/milestones{/number}","notifications_url":"https://api.github.com/repos/bearbarber/bearded-shame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bearbarber/bearded-shame/labels{/name}","releases_url":"https://api.github.com/repos/bearbarber/bearded-shame/releases{/id}","created_at":"2015-11-06T02:12:47Z","updated_at":"2015-11-06T02:12:48Z","pushed_at":"2015-11-11T07:44:16Z","git_url":"git://github.com/bearbarber/bearded-shame.git","ssh_url":"git@github.com:bearbarber/bearded-shame.git","clone_url":"https://github.com/bearbarber/bearded-shame.git","svn_url":"https://github.com/bearbarber/bearded-shame","homepage":null,"size":146,"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":"payrollhero:master","ref":"master","sha":"75eb989dd45a0d1619ce63ca7fe17b9b3bb2152c","user":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"repo":{"id":33117822,"name":"bearded-shame","full_name":"payrollhero/bearded-shame","owner":{"login":"payrollhero","id":1617662,"avatar_url":"https://avatars.githubusercontent.com/u/1617662?v=3","gravatar_id":"","url":"https://api.github.com/users/payrollhero","html_url":"https://github.com/payrollhero","followers_url":"https://api.github.com/users/payrollhero/followers","following_url":"https://api.github.com/users/payrollhero/following{/other_user}","gists_url":"https://api.github.com/users/payrollhero/gists{/gist_id}","starred_url":"https://api.github.com/users/payrollhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payrollhero/subscriptions","organizations_url":"https://api.github.com/users/payrollhero/orgs","repos_url":"https://api.github.com/users/payrollhero/repos","events_url":"https://api.github.com/users/payrollhero/events{/privacy}","received_events_url":"https://api.github.com/users/payrollhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/payrollhero/bearded-shame","description":"Ignore the title. Github suggested it.","fork":false,"url":"https://api.github.com/repos/payrollhero/bearded-shame","forks_url":"https://api.github.com/repos/payrollhero/bearded-shame/forks","keys_url":"https://api.github.com/repos/payrollhero/bearded-shame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/payrollhero/bearded-shame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/payrollhero/bearded-shame/teams","hooks_url":"https://api.github.com/repos/payrollhero/bearded-shame/hooks","issue_events_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/events{/number}","events_url":"https://api.github.com/repos/payrollhero/bearded-shame/events","assignees_url":"https://api.github.com/repos/payrollhero/bearded-shame/assignees{/user}","branches_url":"https://api.github.com/repos/payrollhero/bearded-shame/branches{/branch}","tags_url":"https://api.github.com/repos/payrollhero/bearded-shame/tags","blobs_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/refs{/sha}","trees_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/payrollhero/bearded-shame/statuses/{sha}","languages_url":"https://api.github.com/repos/payrollhero/bearded-shame/languages","stargazers_url":"https://api.github.com/repos/payrollhero/bearded-shame/stargazers","contributors_url":"https://api.github.com/repos/payrollhero/bearded-shame/contributors","subscribers_url":"https://api.github.com/repos/payrollhero/bearded-shame/subscribers","subscription_url":"https://api.github.com/repos/payrollhero/bearded-shame/subscription","commits_url":"https://api.github.com/repos/payrollhero/bearded-shame/commits{/sha}","git_commits_url":"https://api.github.com/repos/payrollhero/bearded-shame/git/commits{/sha}","comments_url":"https://api.github.com/repos/payrollhero/bearded-shame/comments{/number}","issue_comment_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues/comments{/number}","contents_url":"https://api.github.com/repos/payrollhero/bearded-shame/contents/{+path}","compare_url":"https://api.github.com/repos/payrollhero/bearded-shame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/payrollhero/bearded-shame/merges","archive_url":"https://api.github.com/repos/payrollhero/bearded-shame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/payrollhero/bearded-shame/downloads","issues_url":"https://api.github.com/repos/payrollhero/bearded-shame/issues{/number}","pulls_url":"https://api.github.com/repos/payrollhero/bearded-shame/pulls{/number}","milestones_url":"https://api.github.com/repos/payrollhero/bearded-shame/milestones{/number}","notifications_url":"https://api.github.com/repos/payrollhero/bearded-shame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/payrollhero/bearded-shame/labels{/name}","releases_url":"https://api.github.com/repos/payrollhero/bearded-shame/releases{/id}","created_at":"2015-03-30T10:53:51Z","updated_at":"2015-05-07T21:29:04Z","pushed_at":"2015-11-11T07:46:46Z","git_url":"git://github.com/payrollhero/bearded-shame.git","ssh_url":"git@github.com:payrollhero/bearded-shame.git","clone_url":"https://github.com/payrollhero/bearded-shame.git","svn_url":"https://github.com/payrollhero/bearded-shame","homepage":null,"size":689,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17"},"html":{"href":"https://github.com/payrollhero/bearded-shame/pull/17"},"issue":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/issues/17"},"comments":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/payrollhero/bearded-shame/statuses/b22e24a2ab6d297a6145781427381cf818eaf34d"}}}}