{"action":"created","comment":{"url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/comments/60445353","id":60445353,"diff_hunk":"@@ -0,0 +1,32 @@\n+class UsersController < ApplicationController\n+  def index\n+    @users = User.all\n+  end\n+\n+  def new\n+    @user = User.new\n+  end\n+\n+  def create\n+    @user = User.new(params[:user])\n+    @user.role_id = 1 if @user.role == nil","path":"app/controllers/users_controller.rb","position":12,"original_position":12,"commit_id":"def8e4117915e53acb2c77017faf3ca10f566564","original_commit_id":"def8e4117915e53acb2c77017faf3ca10f566564","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":"1? What special meaning does 1 have here?","created_at":"2016-04-20T16:48:02Z","updated_at":"2016-04-20T16:48:02Z","html_url":"https://github.com/nyc-sea-lions-2016/imdb-clone/pull/48#discussion_r60445353","pull_request_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/comments/60445353"},"html":{"href":"https://github.com/nyc-sea-lions-2016/imdb-clone/pull/48#discussion_r60445353"},"pull_request":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48","id":67217657,"html_url":"https://github.com/nyc-sea-lions-2016/imdb-clone/pull/48","diff_url":"https://github.com/nyc-sea-lions-2016/imdb-clone/pull/48.diff","patch_url":"https://github.com/nyc-sea-lions-2016/imdb-clone/pull/48.patch","issue_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/48","number":48,"state":"open","locked":false,"title":"Don't merge - For 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":"2016-04-20T16:25:45Z","updated_at":"2016-04-20T16:48:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53503c2267bc6f4f4d50d514c0f175fb8f26486f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48/commits","review_comments_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48/comments","review_comment_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/48/comments","statuses_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/statuses/def8e4117915e53acb2c77017faf3ca10f566564","head":{"label":"nyc-sea-lions-2016:review","ref":"review","sha":"def8e4117915e53acb2c77017faf3ca10f566564","user":{"login":"nyc-sea-lions-2016","id":14019681,"avatar_url":"https://avatars.githubusercontent.com/u/14019681?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-sea-lions-2016","html_url":"https://github.com/nyc-sea-lions-2016","followers_url":"https://api.github.com/users/nyc-sea-lions-2016/followers","following_url":"https://api.github.com/users/nyc-sea-lions-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-sea-lions-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-sea-lions-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-sea-lions-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-sea-lions-2016/orgs","repos_url":"https://api.github.com/users/nyc-sea-lions-2016/repos","events_url":"https://api.github.com/users/nyc-sea-lions-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-sea-lions-2016/received_events","type":"Organization","site_admin":false},"repo":{"id":56517347,"name":"imdb-clone","full_name":"nyc-sea-lions-2016/imdb-clone","owner":{"login":"nyc-sea-lions-2016","id":14019681,"avatar_url":"https://avatars.githubusercontent.com/u/14019681?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-sea-lions-2016","html_url":"https://github.com/nyc-sea-lions-2016","followers_url":"https://api.github.com/users/nyc-sea-lions-2016/followers","following_url":"https://api.github.com/users/nyc-sea-lions-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-sea-lions-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-sea-lions-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-sea-lions-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-sea-lions-2016/orgs","repos_url":"https://api.github.com/users/nyc-sea-lions-2016/repos","events_url":"https://api.github.com/users/nyc-sea-lions-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-sea-lions-2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-sea-lions-2016/imdb-clone","description":"Mike, Alyssa, John","fork":false,"url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone","forks_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/forks","keys_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/teams","hooks_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/hooks","issue_events_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/events","assignees_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/tags","blobs_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/languages","stargazers_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/stargazers","contributors_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/contributors","subscribers_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/subscribers","subscription_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/subscription","commits_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/merges","archive_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/downloads","issues_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/labels{/name}","releases_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/releases{/id}","deployments_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/deployments","created_at":"2016-04-18T15:00:35Z","updated_at":"2016-04-19T14:09:11Z","pushed_at":"2016-04-20T16:25:45Z","git_url":"git://github.com/nyc-sea-lions-2016/imdb-clone.git","ssh_url":"git@github.com:nyc-sea-lions-2016/imdb-clone.git","clone_url":"https://github.com/nyc-sea-lions-2016/imdb-clone.git","svn_url":"https://github.com/nyc-sea-lions-2016/imdb-clone","homepage":"","size":475,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nyc-sea-lions-2016:review-base","ref":"review-base","sha":"b55c6a2efc5f9d299a63a56d4a994bc688036f33","user":{"login":"nyc-sea-lions-2016","id":14019681,"avatar_url":"https://avatars.githubusercontent.com/u/14019681?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-sea-lions-2016","html_url":"https://github.com/nyc-sea-lions-2016","followers_url":"https://api.github.com/users/nyc-sea-lions-2016/followers","following_url":"https://api.github.com/users/nyc-sea-lions-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-sea-lions-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-sea-lions-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-sea-lions-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-sea-lions-2016/orgs","repos_url":"https://api.github.com/users/nyc-sea-lions-2016/repos","events_url":"https://api.github.com/users/nyc-sea-lions-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-sea-lions-2016/received_events","type":"Organization","site_admin":false},"repo":{"id":56517347,"name":"imdb-clone","full_name":"nyc-sea-lions-2016/imdb-clone","owner":{"login":"nyc-sea-lions-2016","id":14019681,"avatar_url":"https://avatars.githubusercontent.com/u/14019681?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-sea-lions-2016","html_url":"https://github.com/nyc-sea-lions-2016","followers_url":"https://api.github.com/users/nyc-sea-lions-2016/followers","following_url":"https://api.github.com/users/nyc-sea-lions-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-sea-lions-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-sea-lions-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-sea-lions-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-sea-lions-2016/orgs","repos_url":"https://api.github.com/users/nyc-sea-lions-2016/repos","events_url":"https://api.github.com/users/nyc-sea-lions-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-sea-lions-2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-sea-lions-2016/imdb-clone","description":"Mike, Alyssa, John","fork":false,"url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone","forks_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/forks","keys_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/teams","hooks_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/hooks","issue_events_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/events","assignees_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/tags","blobs_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/languages","stargazers_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/stargazers","contributors_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/contributors","subscribers_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/subscribers","subscription_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/subscription","commits_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/merges","archive_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/downloads","issues_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/labels{/name}","releases_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/releases{/id}","deployments_url":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/deployments","created_at":"2016-04-18T15:00:35Z","updated_at":"2016-04-19T14:09:11Z","pushed_at":"2016-04-20T16:25:45Z","git_url":"git://github.com/nyc-sea-lions-2016/imdb-clone.git","ssh_url":"git@github.com:nyc-sea-lions-2016/imdb-clone.git","clone_url":"https://github.com/nyc-sea-lions-2016/imdb-clone.git","svn_url":"https://github.com/nyc-sea-lions-2016/imdb-clone","homepage":"","size":475,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48"},"html":{"href":"https://github.com/nyc-sea-lions-2016/imdb-clone/pull/48"},"issue":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/48"},"comments":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/nyc-sea-lions-2016/imdb-clone/statuses/def8e4117915e53acb2c77017faf3ca10f566564"}}}}