{"action":"created","comment":{"url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/comments/47807382","id":47807382,"diff_hunk":"@@ -0,0 +1,30 @@\n+class SessionsController < ApplicationController\n+  def new\n+  \tif current_user\n+  \t\tredirect_to user_path(current_user)\n+  \tend\n+  end\n+\n+  def create\n+  \t@user - User.find_by_email(user_params[:email])","path":"app/controllers/sessions_controller.rb","position":9,"original_position":9,"commit_id":"260399a359dfb10bbbc7dce85112e1ab3bbf9993","original_commit_id":"260399a359dfb10bbbc7dce85112e1ab3bbf9993","user":{"login":"zoejf","id":12026269,"avatar_url":"https://avatars.githubusercontent.com/u/12026269?v=3","gravatar_id":"","url":"https://api.github.com/users/zoejf","html_url":"https://github.com/zoejf","followers_url":"https://api.github.com/users/zoejf/followers","following_url":"https://api.github.com/users/zoejf/following{/other_user}","gists_url":"https://api.github.com/users/zoejf/gists{/gist_id}","starred_url":"https://api.github.com/users/zoejf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoejf/subscriptions","organizations_url":"https://api.github.com/users/zoejf/orgs","repos_url":"https://api.github.com/users/zoejf/repos","events_url":"https://api.github.com/users/zoejf/events{/privacy}","received_events_url":"https://api.github.com/users/zoejf/received_events","type":"User","site_admin":false},"body":"need a = on line 9 not a -   (is that where the bugs are happening?)","created_at":"2015-12-16T17:34:39Z","updated_at":"2015-12-16T17:34:39Z","html_url":"https://github.com/sf-wdi-24/rails_blog_app/pull/2#discussion_r47807382","pull_request_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/comments/47807382"},"html":{"href":"https://github.com/sf-wdi-24/rails_blog_app/pull/2#discussion_r47807382"},"pull_request":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2","id":53794513,"html_url":"https://github.com/sf-wdi-24/rails_blog_app/pull/2","diff_url":"https://github.com/sf-wdi-24/rails_blog_app/pull/2.diff","patch_url":"https://github.com/sf-wdi-24/rails_blog_app/pull/2.patch","issue_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/issues/2","number":2,"state":"open","locked":false,"title":"still has many bugs","user":{"login":"stevendnoble","id":13738085,"avatar_url":"https://avatars.githubusercontent.com/u/13738085?v=3","gravatar_id":"","url":"https://api.github.com/users/stevendnoble","html_url":"https://github.com/stevendnoble","followers_url":"https://api.github.com/users/stevendnoble/followers","following_url":"https://api.github.com/users/stevendnoble/following{/other_user}","gists_url":"https://api.github.com/users/stevendnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/stevendnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevendnoble/subscriptions","organizations_url":"https://api.github.com/users/stevendnoble/orgs","repos_url":"https://api.github.com/users/stevendnoble/repos","events_url":"https://api.github.com/users/stevendnoble/events{/privacy}","received_events_url":"https://api.github.com/users/stevendnoble/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-16T03:16:46Z","updated_at":"2015-12-16T17:34:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51ab0867876a56f49fbabae494926fe978c01d5b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/issues/2/comments","statuses_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/statuses/260399a359dfb10bbbc7dce85112e1ab3bbf9993","head":{"label":"stevendnoble:master","ref":"master","sha":"260399a359dfb10bbbc7dce85112e1ab3bbf9993","user":{"login":"stevendnoble","id":13738085,"avatar_url":"https://avatars.githubusercontent.com/u/13738085?v=3","gravatar_id":"","url":"https://api.github.com/users/stevendnoble","html_url":"https://github.com/stevendnoble","followers_url":"https://api.github.com/users/stevendnoble/followers","following_url":"https://api.github.com/users/stevendnoble/following{/other_user}","gists_url":"https://api.github.com/users/stevendnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/stevendnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevendnoble/subscriptions","organizations_url":"https://api.github.com/users/stevendnoble/orgs","repos_url":"https://api.github.com/users/stevendnoble/repos","events_url":"https://api.github.com/users/stevendnoble/events{/privacy}","received_events_url":"https://api.github.com/users/stevendnoble/received_events","type":"User","site_admin":false},"repo":{"id":48074373,"name":"rails_blog_app","full_name":"stevendnoble/rails_blog_app","owner":{"login":"stevendnoble","id":13738085,"avatar_url":"https://avatars.githubusercontent.com/u/13738085?v=3","gravatar_id":"","url":"https://api.github.com/users/stevendnoble","html_url":"https://github.com/stevendnoble","followers_url":"https://api.github.com/users/stevendnoble/followers","following_url":"https://api.github.com/users/stevendnoble/following{/other_user}","gists_url":"https://api.github.com/users/stevendnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/stevendnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevendnoble/subscriptions","organizations_url":"https://api.github.com/users/stevendnoble/orgs","repos_url":"https://api.github.com/users/stevendnoble/repos","events_url":"https://api.github.com/users/stevendnoble/events{/privacy}","received_events_url":"https://api.github.com/users/stevendnoble/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevendnoble/rails_blog_app","description":"Build a Rails blog to practice authentication, Active Record associations, and testing","fork":true,"url":"https://api.github.com/repos/stevendnoble/rails_blog_app","forks_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/forks","keys_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/teams","hooks_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/hooks","issue_events_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/issues/events{/number}","events_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/events","assignees_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/assignees{/user}","branches_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/branches{/branch}","tags_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/tags","blobs_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/statuses/{sha}","languages_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/languages","stargazers_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/stargazers","contributors_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/contributors","subscribers_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/subscribers","subscription_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/subscription","commits_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/contents/{+path}","compare_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/merges","archive_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/downloads","issues_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/issues{/number}","pulls_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/pulls{/number}","milestones_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/milestones{/number}","notifications_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/labels{/name}","releases_url":"https://api.github.com/repos/stevendnoble/rails_blog_app/releases{/id}","created_at":"2015-12-15T23:12:19Z","updated_at":"2015-12-15T23:12:20Z","pushed_at":"2015-12-16T03:15:08Z","git_url":"git://github.com/stevendnoble/rails_blog_app.git","ssh_url":"git@github.com:stevendnoble/rails_blog_app.git","clone_url":"https://github.com/stevendnoble/rails_blog_app.git","svn_url":"https://github.com/stevendnoble/rails_blog_app","homepage":null,"size":71,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sf-wdi-24:master","ref":"master","sha":"db9564f25d85854367658b0fb41fd0165ebbcbf9","user":{"login":"sf-wdi-24","id":15084798,"avatar_url":"https://avatars.githubusercontent.com/u/15084798?v=3","gravatar_id":"","url":"https://api.github.com/users/sf-wdi-24","html_url":"https://github.com/sf-wdi-24","followers_url":"https://api.github.com/users/sf-wdi-24/followers","following_url":"https://api.github.com/users/sf-wdi-24/following{/other_user}","gists_url":"https://api.github.com/users/sf-wdi-24/gists{/gist_id}","starred_url":"https://api.github.com/users/sf-wdi-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sf-wdi-24/subscriptions","organizations_url":"https://api.github.com/users/sf-wdi-24/orgs","repos_url":"https://api.github.com/users/sf-wdi-24/repos","events_url":"https://api.github.com/users/sf-wdi-24/events{/privacy}","received_events_url":"https://api.github.com/users/sf-wdi-24/received_events","type":"Organization","site_admin":false},"repo":{"id":47840629,"name":"rails_blog_app","full_name":"sf-wdi-24/rails_blog_app","owner":{"login":"sf-wdi-24","id":15084798,"avatar_url":"https://avatars.githubusercontent.com/u/15084798?v=3","gravatar_id":"","url":"https://api.github.com/users/sf-wdi-24","html_url":"https://github.com/sf-wdi-24","followers_url":"https://api.github.com/users/sf-wdi-24/followers","following_url":"https://api.github.com/users/sf-wdi-24/following{/other_user}","gists_url":"https://api.github.com/users/sf-wdi-24/gists{/gist_id}","starred_url":"https://api.github.com/users/sf-wdi-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sf-wdi-24/subscriptions","organizations_url":"https://api.github.com/users/sf-wdi-24/orgs","repos_url":"https://api.github.com/users/sf-wdi-24/repos","events_url":"https://api.github.com/users/sf-wdi-24/events{/privacy}","received_events_url":"https://api.github.com/users/sf-wdi-24/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sf-wdi-24/rails_blog_app","description":"Build a Rails blog to practice authentication, Active Record associations, and testing","fork":false,"url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app","forks_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/forks","keys_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/teams","hooks_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/hooks","issue_events_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/issues/events{/number}","events_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/events","assignees_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/assignees{/user}","branches_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/branches{/branch}","tags_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/tags","blobs_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/statuses/{sha}","languages_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/languages","stargazers_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/stargazers","contributors_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/contributors","subscribers_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/subscribers","subscription_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/subscription","commits_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/contents/{+path}","compare_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/merges","archive_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/downloads","issues_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/issues{/number}","pulls_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls{/number}","milestones_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/milestones{/number}","notifications_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/labels{/name}","releases_url":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/releases{/id}","created_at":"2015-12-11T17:22:33Z","updated_at":"2015-12-11T17:27:19Z","pushed_at":"2015-12-16T17:20:54Z","git_url":"git://github.com/sf-wdi-24/rails_blog_app.git","ssh_url":"git@github.com:sf-wdi-24/rails_blog_app.git","clone_url":"https://github.com/sf-wdi-24/rails_blog_app.git","svn_url":"https://github.com/sf-wdi-24/rails_blog_app","homepage":null,"size":70,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":11,"forks":14,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2"},"html":{"href":"https://github.com/sf-wdi-24/rails_blog_app/pull/2"},"issue":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/issues/2"},"comments":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sf-wdi-24/rails_blog_app/statuses/260399a359dfb10bbbc7dce85112e1ab3bbf9993"}}}}