{"action":"created","comment":{"url":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments/35692838","id":35692838,"diff_hunk":"@@ -41,20 +39,14 @@ def notify\n       when \"email\"\n         send_notify_email(@nudge, message_body)","path":"app/controllers/social_networking/nudges_controller.rb","position":11,"original_position":11,"commit_id":"1bd79dc8ef06609f6b15c11539260f46867eea64","original_commit_id":"1bd79dc8ef06609f6b15c11539260f46867eea64","user":{"login":"ericcf","id":58693,"avatar_url":"https://avatars.githubusercontent.com/u/58693?v=3","gravatar_id":"","url":"https://api.github.com/users/ericcf","html_url":"https://github.com/ericcf","followers_url":"https://api.github.com/users/ericcf/followers","following_url":"https://api.github.com/users/ericcf/following{/other_user}","gists_url":"https://api.github.com/users/ericcf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcf/subscriptions","organizations_url":"https://api.github.com/users/ericcf/orgs","repos_url":"https://api.github.com/users/ericcf/repos","events_url":"https://api.github.com/users/ericcf/events{/privacy}","received_events_url":"https://api.github.com/users/ericcf/received_events","type":"User","site_admin":false},"body":"This method is looking up the recipient Participant again. Should you pass the Participant or Participant id instead of the Nudge? Also, `@nudge` is an instance variable so you don't need to pass it.","created_at":"2015-07-28T19:57:24Z","updated_at":"2015-07-28T19:57:24Z","html_url":"https://github.com/cbitstech/social_networking/pull/55#discussion_r35692838","pull_request_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments/35692838"},"html":{"href":"https://github.com/cbitstech/social_networking/pull/55#discussion_r35692838"},"pull_request":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/cbitstech/social_networking/pulls/55","id":40940151,"html_url":"https://github.com/cbitstech/social_networking/pull/55","diff_url":"https://github.com/cbitstech/social_networking/pull/55.diff","patch_url":"https://github.com/cbitstech/social_networking/pull/55.patch","issue_url":"https://api.github.com/repos/cbitstech/social_networking/issues/55","number":55,"state":"open","locked":false,"title":"Update Nudge Notification Email","user":{"login":"michaelwehrley","id":526136,"avatar_url":"https://avatars.githubusercontent.com/u/526136?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelwehrley","html_url":"https://github.com/michaelwehrley","followers_url":"https://api.github.com/users/michaelwehrley/followers","following_url":"https://api.github.com/users/michaelwehrley/following{/other_user}","gists_url":"https://api.github.com/users/michaelwehrley/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwehrley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwehrley/subscriptions","organizations_url":"https://api.github.com/users/michaelwehrley/orgs","repos_url":"https://api.github.com/users/michaelwehrley/repos","events_url":"https://api.github.com/users/michaelwehrley/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwehrley/received_events","type":"User","site_admin":false},"body":"Update Nudge Notification Email\r\n\r\n* Update nudge notification email to point to profile page.\r\n\r\n[#99741330]","created_at":"2015-07-27T19:32:00Z","updated_at":"2015-07-28T19:57:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"522a777d35e171642e379adb23904fcfa082301c","assignee":{"login":"ericcf","id":58693,"avatar_url":"https://avatars.githubusercontent.com/u/58693?v=3","gravatar_id":"","url":"https://api.github.com/users/ericcf","html_url":"https://github.com/ericcf","followers_url":"https://api.github.com/users/ericcf/followers","following_url":"https://api.github.com/users/ericcf/following{/other_user}","gists_url":"https://api.github.com/users/ericcf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcf/subscriptions","organizations_url":"https://api.github.com/users/ericcf/orgs","repos_url":"https://api.github.com/users/ericcf/repos","events_url":"https://api.github.com/users/ericcf/events{/privacy}","received_events_url":"https://api.github.com/users/ericcf/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/55/commits","review_comments_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/55/comments","review_comment_url":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbitstech/social_networking/issues/55/comments","statuses_url":"https://api.github.com/repos/cbitstech/social_networking/statuses/1bd79dc8ef06609f6b15c11539260f46867eea64","head":{"label":"cbitstech:msw_99741330_update_nudge_route_for_email_notifications","ref":"msw_99741330_update_nudge_route_for_email_notifications","sha":"1bd79dc8ef06609f6b15c11539260f46867eea64","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":23404675,"name":"social_networking","full_name":"cbitstech/social_networking","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/social_networking","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/social_networking","forks_url":"https://api.github.com/repos/cbitstech/social_networking/forks","keys_url":"https://api.github.com/repos/cbitstech/social_networking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/social_networking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/social_networking/teams","hooks_url":"https://api.github.com/repos/cbitstech/social_networking/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/social_networking/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/social_networking/events","assignees_url":"https://api.github.com/repos/cbitstech/social_networking/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/social_networking/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/social_networking/tags","blobs_url":"https://api.github.com/repos/cbitstech/social_networking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/social_networking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/social_networking/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/social_networking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/social_networking/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/social_networking/languages","stargazers_url":"https://api.github.com/repos/cbitstech/social_networking/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/social_networking/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/social_networking/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/social_networking/subscription","commits_url":"https://api.github.com/repos/cbitstech/social_networking/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/social_networking/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/social_networking/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/social_networking/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/social_networking/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/social_networking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/social_networking/merges","archive_url":"https://api.github.com/repos/cbitstech/social_networking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/social_networking/downloads","issues_url":"https://api.github.com/repos/cbitstech/social_networking/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/social_networking/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/social_networking/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/social_networking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/social_networking/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/social_networking/releases{/id}","created_at":"2014-08-27T20:38:20Z","updated_at":"2015-07-07T19:27:40Z","pushed_at":"2015-07-28T19:16:19Z","git_url":"git://github.com/cbitstech/social_networking.git","ssh_url":"git@github.com:cbitstech/social_networking.git","clone_url":"https://github.com/cbitstech/social_networking.git","svn_url":"https://github.com/cbitstech/social_networking","homepage":null,"size":3296,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"cbitstech:master","ref":"master","sha":"a9497ff64564c5a1a8425b2bddd48106c627e5ee","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":23404675,"name":"social_networking","full_name":"cbitstech/social_networking","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/social_networking","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/social_networking","forks_url":"https://api.github.com/repos/cbitstech/social_networking/forks","keys_url":"https://api.github.com/repos/cbitstech/social_networking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/social_networking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/social_networking/teams","hooks_url":"https://api.github.com/repos/cbitstech/social_networking/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/social_networking/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/social_networking/events","assignees_url":"https://api.github.com/repos/cbitstech/social_networking/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/social_networking/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/social_networking/tags","blobs_url":"https://api.github.com/repos/cbitstech/social_networking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/social_networking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/social_networking/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/social_networking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/social_networking/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/social_networking/languages","stargazers_url":"https://api.github.com/repos/cbitstech/social_networking/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/social_networking/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/social_networking/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/social_networking/subscription","commits_url":"https://api.github.com/repos/cbitstech/social_networking/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/social_networking/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/social_networking/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/social_networking/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/social_networking/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/social_networking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/social_networking/merges","archive_url":"https://api.github.com/repos/cbitstech/social_networking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/social_networking/downloads","issues_url":"https://api.github.com/repos/cbitstech/social_networking/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/social_networking/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/social_networking/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/social_networking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/social_networking/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/social_networking/releases{/id}","created_at":"2014-08-27T20:38:20Z","updated_at":"2015-07-07T19:27:40Z","pushed_at":"2015-07-28T19:16:19Z","git_url":"git://github.com/cbitstech/social_networking.git","ssh_url":"git@github.com:cbitstech/social_networking.git","clone_url":"https://github.com/cbitstech/social_networking.git","svn_url":"https://github.com/cbitstech/social_networking","homepage":null,"size":3296,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/55"},"html":{"href":"https://github.com/cbitstech/social_networking/pull/55"},"issue":{"href":"https://api.github.com/repos/cbitstech/social_networking/issues/55"},"comments":{"href":"https://api.github.com/repos/cbitstech/social_networking/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbitstech/social_networking/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/cbitstech/social_networking/statuses/1bd79dc8ef06609f6b15c11539260f46867eea64"}}}}