{"action":"created","comment":{"url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/comments/62909890","id":62909890,"diff_hunk":"@@ -0,0 +1,7 @@\n+# Used to determine when a patient starts and completes learn task_statuses\n+class Engagement < ActiveRecord::Base\n+  belongs_to :task_status\n+\n+  delegate :participant_id, to: :task_status, prefix: false","path":"app/models/engagement.rb","position":5,"original_position":5,"commit_id":"00cdcf3bc433894228c2e5ca488553206968373e","original_commit_id":"00cdcf3bc433894228c2e5ca488553206968373e","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":"I can't find this being used.  Is this legacy?","created_at":"2016-05-11T19:23:29Z","updated_at":"2016-05-11T19:23:29Z","html_url":"https://github.com/cbitstech/think_feel_do_engine/pull/378#discussion_r62909890","pull_request_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378","_links":{"self":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/comments/62909890"},"html":{"href":"https://github.com/cbitstech/think_feel_do_engine/pull/378#discussion_r62909890"},"pull_request":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378"}}},"pull_request":{"url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378","id":69720652,"html_url":"https://github.com/cbitstech/think_feel_do_engine/pull/378","diff_url":"https://github.com/cbitstech/think_feel_do_engine/pull/378.diff","patch_url":"https://github.com/cbitstech/think_feel_do_engine/pull/378.patch","issue_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/378","number":378,"state":"open","locked":false,"title":"Update engagement creation logic.","user":{"login":"eschlange","id":4666065,"avatar_url":"https://avatars.githubusercontent.com/u/4666065?v=3","gravatar_id":"","url":"https://api.github.com/users/eschlange","html_url":"https://github.com/eschlange","followers_url":"https://api.github.com/users/eschlange/followers","following_url":"https://api.github.com/users/eschlange/following{/other_user}","gists_url":"https://api.github.com/users/eschlange/gists{/gist_id}","starred_url":"https://api.github.com/users/eschlange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschlange/subscriptions","organizations_url":"https://api.github.com/users/eschlange/orgs","repos_url":"https://api.github.com/users/eschlange/repos","events_url":"https://api.github.com/users/eschlange/events{/privacy}","received_events_url":"https://api.github.com/users/eschlange/received_events","type":"User","site_admin":false},"body":"* Added engagement model.\r\n* Updated navigator controller logic to create engagements upon entry.\r\n* Added specs for the new navigator controller logic.\r\n* Updated task status association with engagement.\r\n\r\n[#118962341]","created_at":"2016-05-11T18:35:32Z","updated_at":"2016-05-11T19:23:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58bdfcd1e2a8b1b39215ad97bcfe8a2bf9803aa5","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378/commits","review_comments_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378/comments","review_comment_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/378/comments","statuses_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/statuses/00cdcf3bc433894228c2e5ca488553206968373e","head":{"label":"cbitstech:ems-118962341-3","ref":"ems-118962341-3","sha":"00cdcf3bc433894228c2e5ca488553206968373e","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":24353466,"name":"think_feel_do_engine","full_name":"cbitstech/think_feel_do_engine","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/think_feel_do_engine","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/think_feel_do_engine","forks_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/forks","keys_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/teams","hooks_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/events","assignees_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/tags","blobs_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/languages","stargazers_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/subscription","commits_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/merges","archive_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/downloads","issues_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/releases{/id}","deployments_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/deployments","created_at":"2014-09-23T02:18:05Z","updated_at":"2016-03-09T15:46:52Z","pushed_at":"2016-05-11T18:35:33Z","git_url":"git://github.com/cbitstech/think_feel_do_engine.git","ssh_url":"git@github.com:cbitstech/think_feel_do_engine.git","clone_url":"https://github.com/cbitstech/think_feel_do_engine.git","svn_url":"https://github.com/cbitstech/think_feel_do_engine","homepage":null,"size":3254,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"cbitstech:master","ref":"master","sha":"40ab6583829379888031a1edd23c309b7eec1c2b","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":24353466,"name":"think_feel_do_engine","full_name":"cbitstech/think_feel_do_engine","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/think_feel_do_engine","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/think_feel_do_engine","forks_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/forks","keys_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/teams","hooks_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/events","assignees_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/tags","blobs_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/languages","stargazers_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/subscription","commits_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/merges","archive_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/downloads","issues_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/releases{/id}","deployments_url":"https://api.github.com/repos/cbitstech/think_feel_do_engine/deployments","created_at":"2014-09-23T02:18:05Z","updated_at":"2016-03-09T15:46:52Z","pushed_at":"2016-05-11T18:35:33Z","git_url":"git://github.com/cbitstech/think_feel_do_engine.git","ssh_url":"git@github.com:cbitstech/think_feel_do_engine.git","clone_url":"https://github.com/cbitstech/think_feel_do_engine.git","svn_url":"https://github.com/cbitstech/think_feel_do_engine","homepage":null,"size":3254,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378"},"html":{"href":"https://github.com/cbitstech/think_feel_do_engine/pull/378"},"issue":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/378"},"comments":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/issues/378/comments"},"review_comments":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378/comments"},"review_comment":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/pulls/378/commits"},"statuses":{"href":"https://api.github.com/repos/cbitstech/think_feel_do_engine/statuses/00cdcf3bc433894228c2e5ca488553206968373e"}}}}