GitHub PullRequestReviewCommentEvent at 2014-07-28 18:47:36
Repository: catchat
Actor: Sammyfrw
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/georgetmayorga/catchat/pulls/comments/15481927","id":15481927,"diff_hunk":"@@ -0,0 +1,28 @@\n+class ChatroomsController < ApplicationController\n+  def index\n+    @chatrooms = Chatroom.all\n+  end\n+\n+  def show\n+  end\n+\n+  def new\n+    @chatroom = Chatroom.new\n+  end\n+\n+  def create\n+    @user = User.find(1)\n+    chatroom = @user.chatrooms.new(chatroom_params)\n+    if chatroom.save\n+      redirect_to chatroom\n+    else\n+      render :new\n+    end\n+  end\n+\n+  private\n+\n+  def chatroom_params\n+    params.require(:chatroom).permit(:name, :passkey).merge(user_id: @user.id, owner_id: @user.id)","path":"app/controllers/chatrooms_controller.rb","position":26,"original_position":26,"commit_id":"5fe0b9ba6fb16d5ee67480008855bc6d285b7040","original_commit_id":"5fe0b9ba6fb16d5ee67480008855bc6d285b7040","user":{"login":"Sammyfrw","id":6466627,"avatar_url":"https://avatars.githubusercontent.com/u/6466627?","gravatar_id":"b9ffae2e70252c24ac05bb70a92f302b","url":"https://api.github.com/users/Sammyfrw","html_url":"https://github.com/Sammyfrw","followers_url":"https://api.github.com/users/Sammyfrw/followers","following_url":"https://api.github.com/users/Sammyfrw/following{/other_user}","gists_url":"https://api.github.com/users/Sammyfrw/gists{/gist_id}","starred_url":"https://api.github.com/users/Sammyfrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sammyfrw/subscriptions","organizations_url":"https://api.github.com/users/Sammyfrw/orgs","repos_url":"https://api.github.com/users/Sammyfrw/repos","events_url":"https://api.github.com/users/Sammyfrw/events{/privacy}","received_events_url":"https://api.github.com/users/Sammyfrw/received_events","type":"User","site_admin":false},"body":"It was from the @user.find - before I rebased. now that I have that, I'll go change it.","created_at":"2014-07-28T18:47:36Z","updated_at":"2014-07-28T18:47:36Z","html_url":"https://github.com/georgetmayorga/catchat/pull/2#discussion_r15481927","pull_request_url":"https://api.github.com/repos/georgetmayorga/catchat/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/georgetmayorga/catchat/pulls/comments/15481927"},"html":{"href":"https://github.com/georgetmayorga/catchat/pull/2#discussion_r15481927"},"pull_request":{"href":"https://api.github.com/repos/georgetmayorga/catchat/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/georgetmayorga/catchat/pulls/2","id":18985076,"html_url":"https://github.com/georgetmayorga/catchat/pull/2","diff_url":"https://github.com/georgetmayorga/catchat/pull/2.diff","patch_url":"https://github.com/georgetmayorga/catchat/pull/2.patch","issue_url":"https://api.github.com/repos/georgetmayorga/catchat/issues/2","number":2,"state":"open","title":"Sfrw chatrooms","user":{"login":"Sammyfrw","id":6466627,"avatar_url":"https://avatars.githubusercontent.com/u/6466627?","gravatar_id":"b9ffae2e70252c24ac05bb70a92f302b","url":"https://api.github.com/users/Sammyfrw","html_url":"https://github.com/Sammyfrw","followers_url":"https://api.github.com/users/Sammyfrw/followers","following_url":"https://api.github.com/users/Sammyfrw/following{/other_user}","gists_url":"https://api.github.com/users/Sammyfrw/gists{/gist_id}","starred_url":"https://api.github.com/users/Sammyfrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sammyfrw/subscriptions","organizations_url":"https://api.github.com/users/Sammyfrw/orgs","repos_url":"https://api.github.com/users/Sammyfrw/repos","events_url":"https://api.github.com/users/Sammyfrw/events{/privacy}","received_events_url":"https://api.github.com/users/Sammyfrw/received_events","type":"User","site_admin":false},"body":"@georgetmayorga \r\n\r\nDid I do too much in one single commit? Please review, thanks. :dancer: ","created_at":"2014-07-28T18:40:17Z","updated_at":"2014-07-28T18:47:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04203570b9b507610427aad44807bb6b8f8fbe87","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/georgetmayorga/catchat/pulls/2/commits","review_comments_url":"https://api.github.com/repos/georgetmayorga/catchat/pulls/2/comments","review_comment_url":"https://api.github.com/repos/georgetmayorga/catchat/pulls/comments/{number}","comments_url":"https://api.github.com/repos/georgetmayorga/catchat/issues/2/comments","statuses_url":"https://api.github.com/repos/georgetmayorga/catchat/statuses/5fe0b9ba6fb16d5ee67480008855bc6d285b7040","head":{"label":"georgetmayorga:sfrw-chatrooms","ref":"sfrw-chatrooms","sha":"5fe0b9ba6fb16d5ee67480008855bc6d285b7040","user":{"login":"georgetmayorga","id":6751552,"avatar_url":"https://avatars.githubusercontent.com/u/6751552?","gravatar_id":"b351165b6f201a121d25d5972b68ce31","url":"https://api.github.com/users/georgetmayorga","html_url":"https://github.com/georgetmayorga","followers_url":"https://api.github.com/users/georgetmayorga/followers","following_url":"https://api.github.com/users/georgetmayorga/following{/other_user}","gists_url":"https://api.github.com/users/georgetmayorga/gists{/gist_id}","starred_url":"https://api.github.com/users/georgetmayorga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgetmayorga/subscriptions","organizations_url":"https://api.github.com/users/georgetmayorga/orgs","repos_url":"https://api.github.com/users/georgetmayorga/repos","events_url":"https://api.github.com/users/georgetmayorga/events{/privacy}","received_events_url":"https://api.github.com/users/georgetmayorga/received_events","type":"User","site_admin":false},"repo":{"id":22345830,"name":"catchat","full_name":"georgetmayorga/catchat","owner":{"login":"georgetmayorga","id":6751552,"avatar_url":"https://avatars.githubusercontent.com/u/6751552?","gravatar_id":"b351165b6f201a121d25d5972b68ce31","url":"https://api.github.com/users/georgetmayorga","html_url":"https://github.com/georgetmayorga","followers_url":"https://api.github.com/users/georgetmayorga/followers","following_url":"https://api.github.com/users/georgetmayorga/following{/other_user}","gists_url":"https://api.github.com/users/georgetmayorga/gists{/gist_id}","starred_url":"https://api.github.com/users/georgetmayorga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgetmayorga/subscriptions","organizations_url":"https://api.github.com/users/georgetmayorga/orgs","repos_url":"https://api.github.com/users/georgetmayorga/repos","events_url":"https://api.github.com/users/georgetmayorga/events{/privacy}","received_events_url":"https://api.github.com/users/georgetmayorga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/georgetmayorga/catchat","description":"","fork":false,"url":"https://api.github.com/repos/georgetmayorga/catchat","forks_url":"https://api.github.com/repos/georgetmayorga/catchat/forks","keys_url":"https://api.github.com/repos/georgetmayorga/catchat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georgetmayorga/catchat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georgetmayorga/catchat/teams","hooks_url":"https://api.github.com/repos/georgetmayorga/catchat/hooks","issue_events_url":"https://api.github.com/repos/georgetmayorga/catchat/issues/events{/number}","events_url":"https://api.github.com/repos/georgetmayorga/catchat/events","assignees_url":"https://api.github.com/repos/georgetmayorga/catchat/assignees{/user}","branches_url":"https://api.github.com/repos/georgetmayorga/catchat/branches{/branch}","tags_url":"https://api.github.com/repos/georgetmayorga/catchat/tags","blobs_url":"https://api.github.com/repos/georgetmayorga/catchat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georgetmayorga/catchat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georgetmayorga/catchat/git/refs{/sha}","trees_url":"https://api.github.com/repos/georgetmayorga/catchat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georgetmayorga/catchat/statuses/{sha}","languages_url":"https://api.github.com/repos/georgetmayorga/catchat/languages","stargazers_url":"https://api.github.com/repos/georgetmayorga/catchat/stargazers","contributors_url":"https://api.github.com/repos/georgetmayorga/catchat/contributors","subscribers_url":"https://api.github.com/repos/georgetmayorga/catchat/subscribers","subscription_url":"https://api.github.com/repos/georgetmayorga/catchat/subscription","commits_url":"https://api.github.com/repos/georgetmayorga/catchat/commits{/sha}","git_commits_url":"https://api.github.com/repos/georgetmayorga/catchat/git/commits{/sha}","comments_url":"https://api.github.com/repos/georgetmayorga/catchat/comments{/number}","issue_comment_url":"https://api.github.com/repos/georgetmayorga/catchat/issues/comments/{number}","contents_url":"https://api.github.com/repos/georgetmayorga/catchat/contents/{+path}","compare_url":"https://api.github.com/repos/georgetmayorga/catchat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georgetmayorga/catchat/merges","archive_url":"https://api.github.com/repos/georgetmayorga/catchat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georgetmayorga/catchat/downloads","issues_url":"https://api.github.com/repos/georgetmayorga/catchat/issues{/number}","pulls_url":"https://api.github.com/repos/georgetmayorga/catchat/pulls{/number}","milestones_url":"https://api.github.com/repos/georgetmayorga/catchat/milestones{/number}","notifications_url":"https://api.github.com/repos/georgetmayorga/catchat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georgetmayorga/catchat/labels{/name}","releases_url":"https://api.github.com/repos/georgetmayorga/catchat/releases{/id}","created_at":"2014-07-28T14:38:09Z","updated_at":"2014-07-28T14:38:14Z","pushed_at":"2014-07-28T18:25:49Z","git_url":"git://github.com/georgetmayorga/catchat.git","ssh_url":"git@github.com:georgetmayorga/catchat.git","clone_url":"https://github.com/georgetmayorga/catchat.git","svn_url":"https://github.com/georgetmayorga/catchat","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"georgetmayorga:master","ref":"master","sha":"e4e22fde8def1aeeccf666fbe02808daa9bd5d45","user":{"login":"georgetmayorga","id":6751552,"avatar_url":"https://avatars.githubusercontent.com/u/6751552?","gravatar_id":"b351165b6f201a121d25d5972b68ce31","url":"https://api.github.com/users/georgetmayorga","html_url":"https://github.com/georgetmayorga","followers_url":"https://api.github.com/users/georgetmayorga/followers","following_url":"https://api.github.com/users/georgetmayorga/following{/other_user}","gists_url":"https://api.github.com/users/georgetmayorga/gists{/gist_id}","starred_url":"https://api.github.com/users/georgetmayorga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgetmayorga/subscriptions","organizations_url":"https://api.github.com/users/georgetmayorga/orgs","repos_url":"https://api.github.com/users/georgetmayorga/repos","events_url":"https://api.github.com/users/georgetmayorga/events{/privacy}","received_events_url":"https://api.github.com/users/georgetmayorga/received_events","type":"User","site_admin":false},"repo":{"id":22345830,"name":"catchat","full_name":"georgetmayorga/catchat","owner":{"login":"georgetmayorga","id":6751552,"avatar_url":"https://avatars.githubusercontent.com/u/6751552?","gravatar_id":"b351165b6f201a121d25d5972b68ce31","url":"https://api.github.com/users/georgetmayorga","html_url":"https://github.com/georgetmayorga","followers_url":"https://api.github.com/users/georgetmayorga/followers","following_url":"https://api.github.com/users/georgetmayorga/following{/other_user}","gists_url":"https://api.github.com/users/georgetmayorga/gists{/gist_id}","starred_url":"https://api.github.com/users/georgetmayorga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgetmayorga/subscriptions","organizations_url":"https://api.github.com/users/georgetmayorga/orgs","repos_url":"https://api.github.com/users/georgetmayorga/repos","events_url":"https://api.github.com/users/georgetmayorga/events{/privacy}","received_events_url":"https://api.github.com/users/georgetmayorga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/georgetmayorga/catchat","description":"","fork":false,"url":"https://api.github.com/repos/georgetmayorga/catchat","forks_url":"https://api.github.com/repos/georgetmayorga/catchat/forks","keys_url":"https://api.github.com/repos/georgetmayorga/catchat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georgetmayorga/catchat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georgetmayorga/catchat/teams","hooks_url":"https://api.github.com/repos/georgetmayorga/catchat/hooks","issue_events_url":"https://api.github.com/repos/georgetmayorga/catchat/issues/events{/number}","events_url":"https://api.github.com/repos/georgetmayorga/catchat/events","assignees_url":"https://api.github.com/repos/georgetmayorga/catchat/assignees{/user}","branches_url":"https://api.github.com/repos/georgetmayorga/catchat/branches{/branch}","tags_url":"https://api.github.com/repos/georgetmayorga/catchat/tags","blobs_url":"https://api.github.com/repos/georgetmayorga/catchat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georgetmayorga/catchat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georgetmayorga/catchat/git/refs{/sha}","trees_url":"https://api.github.com/repos/georgetmayorga/catchat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georgetmayorga/catchat/statuses/{sha}","languages_url":"https://api.github.com/repos/georgetmayorga/catchat/languages","stargazers_url":"https://api.github.com/repos/georgetmayorga/catchat/stargazers","contributors_url":"https://api.github.com/repos/georgetmayorga/catchat/contributors","subscribers_url":"https://api.github.com/repos/georgetmayorga/catchat/subscribers","subscription_url":"https://api.github.com/repos/georgetmayorga/catchat/subscription","commits_url":"https://api.github.com/repos/georgetmayorga/catchat/commits{/sha}","git_commits_url":"https://api.github.com/repos/georgetmayorga/catchat/git/commits{/sha}","comments_url":"https://api.github.com/repos/georgetmayorga/catchat/comments{/number}","issue_comment_url":"https://api.github.com/repos/georgetmayorga/catchat/issues/comments/{number}","contents_url":"https://api.github.com/repos/georgetmayorga/catchat/contents/{+path}","compare_url":"https://api.github.com/repos/georgetmayorga/catchat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georgetmayorga/catchat/merges","archive_url":"https://api.github.com/repos/georgetmayorga/catchat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georgetmayorga/catchat/downloads","issues_url":"https://api.github.com/repos/georgetmayorga/catchat/issues{/number}","pulls_url":"https://api.github.com/repos/georgetmayorga/catchat/pulls{/number}","milestones_url":"https://api.github.com/repos/georgetmayorga/catchat/milestones{/number}","notifications_url":"https://api.github.com/repos/georgetmayorga/catchat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georgetmayorga/catchat/labels{/name}","releases_url":"https://api.github.com/repos/georgetmayorga/catchat/releases{/id}","created_at":"2014-07-28T14:38:09Z","updated_at":"2014-07-28T14:38:14Z","pushed_at":"2014-07-28T18:25:49Z","git_url":"git://github.com/georgetmayorga/catchat.git","ssh_url":"git@github.com:georgetmayorga/catchat.git","clone_url":"https://github.com/georgetmayorga/catchat.git","svn_url":"https://github.com/georgetmayorga/catchat","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"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/georgetmayorga/catchat/pulls/2"},"html":{"href":"https://github.com/georgetmayorga/catchat/pull/2"},"issue":{"href":"https://api.github.com/repos/georgetmayorga/catchat/issues/2"},"comments":{"href":"https://api.github.com/repos/georgetmayorga/catchat/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/georgetmayorga/catchat/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/georgetmayorga/catchat/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/georgetmayorga/catchat/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/georgetmayorga/catchat/statuses/5fe0b9ba6fb16d5ee67480008855bc6d285b7040"}}}}