{"action":"created","comment":{"url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/comments/76910113","id":76910113,"diff_hunk":"@@ -78,11 +81,22 @@ defmodule CodeCorps.User do\n   def update_changeset(struct, params) do\n     struct\n     |> changeset(params)\n-    |> cast(params, [:first_name, :last_name, :twitter, :biography, :website, :base64_photo_data])\n+    |> cast(params, [:first_name, :last_name, :twitter, :biography, :website, :base64_photo_data, :state_transition])","path":"web/models/user.ex","position":15,"original_position":15,"commit_id":"6e321fdc21789ad963856bbb26fc1792b3e5790c","original_commit_id":"f5848d587695320dd745788a1c7e6f5f00672f94","user":{"login":"JoshSmith","id":321667,"avatar_url":"https://avatars.githubusercontent.com/u/321667?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshSmith","html_url":"https://github.com/JoshSmith","followers_url":"https://api.github.com/users/JoshSmith/followers","following_url":"https://api.github.com/users/JoshSmith/following{/other_user}","gists_url":"https://api.github.com/users/JoshSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshSmith/subscriptions","organizations_url":"https://api.github.com/users/JoshSmith/orgs","repos_url":"https://api.github.com/users/JoshSmith/repos","events_url":"https://api.github.com/users/JoshSmith/events{/privacy}","received_events_url":"https://api.github.com/users/JoshSmith/received_events","type":"User","site_admin":false},"body":"I mean if an Ember dev gets it wrong, just seems a little more explicit maybe?","created_at":"2016-08-31T01:26:54Z","updated_at":"2016-08-31T01:26:54Z","html_url":"https://github.com/code-corps/code-corps-phoenix/pull/160#discussion_r76910113","pull_request_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160","_links":{"self":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/comments/76910113"},"html":{"href":"https://github.com/code-corps/code-corps-phoenix/pull/160#discussion_r76910113"},"pull_request":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160"}}},"pull_request":{"url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160","id":83367938,"html_url":"https://github.com/code-corps/code-corps-phoenix/pull/160","diff_url":"https://github.com/code-corps/code-corps-phoenix/pull/160.diff","patch_url":"https://github.com/code-corps/code-corps-phoenix/pull/160.patch","issue_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/160","number":160,"state":"open","locked":false,"title":"Add state transitions to user","user":{"login":"venkatd","id":220686,"avatar_url":"https://avatars.githubusercontent.com/u/220686?v=3","gravatar_id":"","url":"https://api.github.com/users/venkatd","html_url":"https://github.com/venkatd","followers_url":"https://api.github.com/users/venkatd/followers","following_url":"https://api.github.com/users/venkatd/following{/other_user}","gists_url":"https://api.github.com/users/venkatd/gists{/gist_id}","starred_url":"https://api.github.com/users/venkatd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venkatd/subscriptions","organizations_url":"https://api.github.com/users/venkatd/orgs","repos_url":"https://api.github.com/users/venkatd/repos","events_url":"https://api.github.com/users/venkatd/events{/privacy}","received_events_url":"https://api.github.com/users/venkatd/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-30T23:59:29Z","updated_at":"2016-08-31T01:26:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"320c38972eb01ac483e8cb659e5456932ba1931c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160/commits","review_comments_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160/comments","review_comment_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/160/comments","statuses_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/statuses/6e321fdc21789ad963856bbb26fc1792b3e5790c","head":{"label":"code-corps:add-state-transitions-to-user","ref":"add-state-transitions-to-user","sha":"6e321fdc21789ad963856bbb26fc1792b3e5790c","user":{"login":"code-corps","id":12991115,"avatar_url":"https://avatars.githubusercontent.com/u/12991115?v=3","gravatar_id":"","url":"https://api.github.com/users/code-corps","html_url":"https://github.com/code-corps","followers_url":"https://api.github.com/users/code-corps/followers","following_url":"https://api.github.com/users/code-corps/following{/other_user}","gists_url":"https://api.github.com/users/code-corps/gists{/gist_id}","starred_url":"https://api.github.com/users/code-corps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-corps/subscriptions","organizations_url":"https://api.github.com/users/code-corps/orgs","repos_url":"https://api.github.com/users/code-corps/repos","events_url":"https://api.github.com/users/code-corps/events{/privacy}","received_events_url":"https://api.github.com/users/code-corps/received_events","type":"Organization","site_admin":false},"repo":{"id":63497734,"name":"code-corps-phoenix","full_name":"code-corps/code-corps-phoenix","owner":{"login":"code-corps","id":12991115,"avatar_url":"https://avatars.githubusercontent.com/u/12991115?v=3","gravatar_id":"","url":"https://api.github.com/users/code-corps","html_url":"https://github.com/code-corps","followers_url":"https://api.github.com/users/code-corps/followers","following_url":"https://api.github.com/users/code-corps/following{/other_user}","gists_url":"https://api.github.com/users/code-corps/gists{/gist_id}","starred_url":"https://api.github.com/users/code-corps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-corps/subscriptions","organizations_url":"https://api.github.com/users/code-corps/orgs","repos_url":"https://api.github.com/users/code-corps/repos","events_url":"https://api.github.com/users/code-corps/events{/privacy}","received_events_url":"https://api.github.com/users/code-corps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-corps/code-corps-phoenix","description":"Phoenix API for the Code Corps platform.","fork":false,"url":"https://api.github.com/repos/code-corps/code-corps-phoenix","forks_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/forks","keys_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/teams","hooks_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/hooks","issue_events_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/events","assignees_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/tags","blobs_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/languages","stargazers_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/stargazers","contributors_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/contributors","subscribers_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/subscribers","subscription_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/subscription","commits_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/merges","archive_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/downloads","issues_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/labels{/name}","releases_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/releases{/id}","deployments_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/deployments","created_at":"2016-07-16T18:49:25Z","updated_at":"2016-08-30T13:06:17Z","pushed_at":"2016-08-31T00:46:23Z","git_url":"git://github.com/code-corps/code-corps-phoenix.git","ssh_url":"git@github.com:code-corps/code-corps-phoenix.git","clone_url":"https://github.com/code-corps/code-corps-phoenix.git","svn_url":"https://github.com/code-corps/code-corps-phoenix","homepage":null,"size":317,"stargazers_count":11,"watchers_count":11,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":51,"forks":4,"open_issues":51,"watchers":11,"default_branch":"develop"}},"base":{"label":"code-corps:develop","ref":"develop","sha":"6352c30e5b0a959f6bb7c408563e03b8914df583","user":{"login":"code-corps","id":12991115,"avatar_url":"https://avatars.githubusercontent.com/u/12991115?v=3","gravatar_id":"","url":"https://api.github.com/users/code-corps","html_url":"https://github.com/code-corps","followers_url":"https://api.github.com/users/code-corps/followers","following_url":"https://api.github.com/users/code-corps/following{/other_user}","gists_url":"https://api.github.com/users/code-corps/gists{/gist_id}","starred_url":"https://api.github.com/users/code-corps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-corps/subscriptions","organizations_url":"https://api.github.com/users/code-corps/orgs","repos_url":"https://api.github.com/users/code-corps/repos","events_url":"https://api.github.com/users/code-corps/events{/privacy}","received_events_url":"https://api.github.com/users/code-corps/received_events","type":"Organization","site_admin":false},"repo":{"id":63497734,"name":"code-corps-phoenix","full_name":"code-corps/code-corps-phoenix","owner":{"login":"code-corps","id":12991115,"avatar_url":"https://avatars.githubusercontent.com/u/12991115?v=3","gravatar_id":"","url":"https://api.github.com/users/code-corps","html_url":"https://github.com/code-corps","followers_url":"https://api.github.com/users/code-corps/followers","following_url":"https://api.github.com/users/code-corps/following{/other_user}","gists_url":"https://api.github.com/users/code-corps/gists{/gist_id}","starred_url":"https://api.github.com/users/code-corps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-corps/subscriptions","organizations_url":"https://api.github.com/users/code-corps/orgs","repos_url":"https://api.github.com/users/code-corps/repos","events_url":"https://api.github.com/users/code-corps/events{/privacy}","received_events_url":"https://api.github.com/users/code-corps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-corps/code-corps-phoenix","description":"Phoenix API for the Code Corps platform.","fork":false,"url":"https://api.github.com/repos/code-corps/code-corps-phoenix","forks_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/forks","keys_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/teams","hooks_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/hooks","issue_events_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/events","assignees_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/tags","blobs_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/languages","stargazers_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/stargazers","contributors_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/contributors","subscribers_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/subscribers","subscription_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/subscription","commits_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/merges","archive_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/downloads","issues_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/labels{/name}","releases_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/releases{/id}","deployments_url":"https://api.github.com/repos/code-corps/code-corps-phoenix/deployments","created_at":"2016-07-16T18:49:25Z","updated_at":"2016-08-30T13:06:17Z","pushed_at":"2016-08-31T00:46:23Z","git_url":"git://github.com/code-corps/code-corps-phoenix.git","ssh_url":"git@github.com:code-corps/code-corps-phoenix.git","clone_url":"https://github.com/code-corps/code-corps-phoenix.git","svn_url":"https://github.com/code-corps/code-corps-phoenix","homepage":null,"size":317,"stargazers_count":11,"watchers_count":11,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":51,"forks":4,"open_issues":51,"watchers":11,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160"},"html":{"href":"https://github.com/code-corps/code-corps-phoenix/pull/160"},"issue":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/160"},"comments":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/code-corps/code-corps-phoenix/statuses/6e321fdc21789ad963856bbb26fc1792b3e5790c"}}}}
{"actor":{"display_login":"JoshSmith"}}