{"action":"created","comment":{"url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/comments/24036105","id":24036105,"diff_hunk":"@@ -0,0 +1,25 @@\n+class GroupsController < ApplicationController\n+  def new\n+    @group = Group.new\n+  end\n+\n+  def show\n+  end\n+\n+  def create\n+    @group = Group.new(group_params)\n+    @group.add_user(current_user)\n+\n+    if @group.save","path":"app/controllers/groups_controller.rb","position":13,"original_position":13,"commit_id":"f3e978a60c1319c38502a029d20cdb67947d0353","original_commit_id":"f3e978a60c1319c38502a029d20cdb67947d0353","user":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"body":"@hrs Hey so am I going crazy. In the show page here when redirected, @group show up nillclass","created_at":"2015-02-03T20:22:06Z","updated_at":"2015-02-03T20:22:06Z","html_url":"https://github.com/ChrisCPO/gitRankr/pull/2#discussion_r24036105","pull_request_url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/comments/24036105"},"html":{"href":"https://github.com/ChrisCPO/gitRankr/pull/2#discussion_r24036105"},"pull_request":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2","id":28584719,"html_url":"https://github.com/ChrisCPO/gitRankr/pull/2","diff_url":"https://github.com/ChrisCPO/gitRankr/pull/2.diff","patch_url":"https://github.com/ChrisCPO/gitRankr/pull/2.patch","issue_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/2","number":2,"state":"open","locked":false,"title":"adding new groups using TDD","user":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-03T20:13:42Z","updated_at":"2015-02-03T20:22:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6500ede343d9c6bbb21ce9c2533512fbd8b5310f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/2/comments","statuses_url":"https://api.github.com/repos/ChrisCPO/gitRankr/statuses/f3e978a60c1319c38502a029d20cdb67947d0353","head":{"label":"ChrisCPO:adding_groups","ref":"adding_groups","sha":"f3e978a60c1319c38502a029d20cdb67947d0353","user":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"repo":{"id":29991827,"name":"gitRankr","full_name":"ChrisCPO/gitRankr","owner":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisCPO/gitRankr","description":"A web app that assigns points for github status. See how you rank up compared to your friends.","fork":false,"url":"https://api.github.com/repos/ChrisCPO/gitRankr","forks_url":"https://api.github.com/repos/ChrisCPO/gitRankr/forks","keys_url":"https://api.github.com/repos/ChrisCPO/gitRankr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisCPO/gitRankr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisCPO/gitRankr/teams","hooks_url":"https://api.github.com/repos/ChrisCPO/gitRankr/hooks","issue_events_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisCPO/gitRankr/events","assignees_url":"https://api.github.com/repos/ChrisCPO/gitRankr/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisCPO/gitRankr/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisCPO/gitRankr/tags","blobs_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisCPO/gitRankr/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisCPO/gitRankr/languages","stargazers_url":"https://api.github.com/repos/ChrisCPO/gitRankr/stargazers","contributors_url":"https://api.github.com/repos/ChrisCPO/gitRankr/contributors","subscribers_url":"https://api.github.com/repos/ChrisCPO/gitRankr/subscribers","subscription_url":"https://api.github.com/repos/ChrisCPO/gitRankr/subscription","commits_url":"https://api.github.com/repos/ChrisCPO/gitRankr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisCPO/gitRankr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/comments/{number}","contents_url":"https://api.github.com/repos/ChrisCPO/gitRankr/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisCPO/gitRankr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisCPO/gitRankr/merges","archive_url":"https://api.github.com/repos/ChrisCPO/gitRankr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisCPO/gitRankr/downloads","issues_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisCPO/gitRankr/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisCPO/gitRankr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisCPO/gitRankr/labels{/name}","releases_url":"https://api.github.com/repos/ChrisCPO/gitRankr/releases{/id}","created_at":"2015-01-28T22:32:58Z","updated_at":"2015-02-02T19:24:52Z","pushed_at":"2015-02-03T20:13:20Z","git_url":"git://github.com/ChrisCPO/gitRankr.git","ssh_url":"git@github.com:ChrisCPO/gitRankr.git","clone_url":"https://github.com/ChrisCPO/gitRankr.git","svn_url":"https://github.com/ChrisCPO/gitRankr","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"ChrisCPO:master","ref":"master","sha":"16e662429e636f186f5399cf3ac18f7eb37124ec","user":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"repo":{"id":29991827,"name":"gitRankr","full_name":"ChrisCPO/gitRankr","owner":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisCPO/gitRankr","description":"A web app that assigns points for github status. See how you rank up compared to your friends.","fork":false,"url":"https://api.github.com/repos/ChrisCPO/gitRankr","forks_url":"https://api.github.com/repos/ChrisCPO/gitRankr/forks","keys_url":"https://api.github.com/repos/ChrisCPO/gitRankr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisCPO/gitRankr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisCPO/gitRankr/teams","hooks_url":"https://api.github.com/repos/ChrisCPO/gitRankr/hooks","issue_events_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisCPO/gitRankr/events","assignees_url":"https://api.github.com/repos/ChrisCPO/gitRankr/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisCPO/gitRankr/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisCPO/gitRankr/tags","blobs_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisCPO/gitRankr/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisCPO/gitRankr/languages","stargazers_url":"https://api.github.com/repos/ChrisCPO/gitRankr/stargazers","contributors_url":"https://api.github.com/repos/ChrisCPO/gitRankr/contributors","subscribers_url":"https://api.github.com/repos/ChrisCPO/gitRankr/subscribers","subscription_url":"https://api.github.com/repos/ChrisCPO/gitRankr/subscription","commits_url":"https://api.github.com/repos/ChrisCPO/gitRankr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisCPO/gitRankr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisCPO/gitRankr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/comments/{number}","contents_url":"https://api.github.com/repos/ChrisCPO/gitRankr/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisCPO/gitRankr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisCPO/gitRankr/merges","archive_url":"https://api.github.com/repos/ChrisCPO/gitRankr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisCPO/gitRankr/downloads","issues_url":"https://api.github.com/repos/ChrisCPO/gitRankr/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisCPO/gitRankr/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisCPO/gitRankr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisCPO/gitRankr/labels{/name}","releases_url":"https://api.github.com/repos/ChrisCPO/gitRankr/releases{/id}","created_at":"2015-01-28T22:32:58Z","updated_at":"2015-02-02T19:24:52Z","pushed_at":"2015-02-03T20:13:20Z","git_url":"git://github.com/ChrisCPO/gitRankr.git","ssh_url":"git@github.com:ChrisCPO/gitRankr.git","clone_url":"https://github.com/ChrisCPO/gitRankr.git","svn_url":"https://github.com/ChrisCPO/gitRankr","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2"},"html":{"href":"https://github.com/ChrisCPO/gitRankr/pull/2"},"issue":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/2"},"comments":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ChrisCPO/gitRankr/statuses/f3e978a60c1319c38502a029d20cdb67947d0353"}}}}