{"action":"created","comment":{"url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/comments/23114951","id":23114951,"diff_hunk":"@@ -0,0 +1,36 @@\n+class AnswersController < ApplicationController\n+  before_action :set_answer, only: [:show, :update, :destroy, :edit]\n+  before_action :set_question, only: [:new, :create]\n+  before_action :authenticate_user, only: [:create, :new]\n+\n+  def index\n+  end\n+\n+  def new\n+    @answer = Answer.new\n+  end\n+\n+  def create\n+    @answer = Answer.new(params_answer)","path":"app/controllers/answers_controller.rb","position":14,"original_position":14,"commit_id":"d84c8ed0b99a9bf4b4ed1652a470f88792c3228a","original_commit_id":"d84c8ed0b99a9bf4b4ed1652a470f88792c3228a","user":{"login":"mikelikesbikes","id":54649,"avatar_url":"https://avatars.githubusercontent.com/u/54649?v=3","gravatar_id":"","url":"https://api.github.com/users/mikelikesbikes","html_url":"https://github.com/mikelikesbikes","followers_url":"https://api.github.com/users/mikelikesbikes/followers","following_url":"https://api.github.com/users/mikelikesbikes/following{/other_user}","gists_url":"https://api.github.com/users/mikelikesbikes/gists{/gist_id}","starred_url":"https://api.github.com/users/mikelikesbikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikelikesbikes/subscriptions","organizations_url":"https://api.github.com/users/mikelikesbikes/orgs","repos_url":"https://api.github.com/users/mikelikesbikes/repos","events_url":"https://api.github.com/users/mikelikesbikes/events{/privacy}","received_events_url":"https://api.github.com/users/mikelikesbikes/received_events","type":"User","site_admin":false},"body":"```ruby\r\n@answer = current_user.answers.create(params_answer)\r\n```","created_at":"2015-01-16T22:42:35Z","updated_at":"2015-01-16T22:42:35Z","html_url":"https://github.com/bluegills-2014/metaoverflow/pull/14#discussion_r23114951","pull_request_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/comments/23114951"},"html":{"href":"https://github.com/bluegills-2014/metaoverflow/pull/14#discussion_r23114951"},"pull_request":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/14","id":27452944,"html_url":"https://github.com/bluegills-2014/metaoverflow/pull/14","diff_url":"https://github.com/bluegills-2014/metaoverflow/pull/14.diff","patch_url":"https://github.com/bluegills-2014/metaoverflow/pull/14.patch","issue_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/14","number":14,"state":"open","locked":false,"title":"Mike & Lucas review the world.","user":{"login":"ltw","id":42032,"avatar_url":"https://avatars.githubusercontent.com/u/42032?v=3","gravatar_id":"","url":"https://api.github.com/users/ltw","html_url":"https://github.com/ltw","followers_url":"https://api.github.com/users/ltw/followers","following_url":"https://api.github.com/users/ltw/following{/other_user}","gists_url":"https://api.github.com/users/ltw/gists{/gist_id}","starred_url":"https://api.github.com/users/ltw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltw/subscriptions","organizations_url":"https://api.github.com/users/ltw/orgs","repos_url":"https://api.github.com/users/ltw/repos","events_url":"https://api.github.com/users/ltw/events{/privacy}","received_events_url":"https://api.github.com/users/ltw/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-15T19:01:55Z","updated_at":"2015-01-16T22:42:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"609ad0063605cae65e1c04a330de6319f1b839d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/14/commits","review_comments_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/14/comments","review_comment_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/14/comments","statuses_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/statuses/d84c8ed0b99a9bf4b4ed1652a470f88792c3228a","head":{"label":"bluegills-2014:master","ref":"master","sha":"d84c8ed0b99a9bf4b4ed1652a470f88792c3228a","user":{"login":"bluegills-2014","id":6732228,"avatar_url":"https://avatars.githubusercontent.com/u/6732228?v=3","gravatar_id":"","url":"https://api.github.com/users/bluegills-2014","html_url":"https://github.com/bluegills-2014","followers_url":"https://api.github.com/users/bluegills-2014/followers","following_url":"https://api.github.com/users/bluegills-2014/following{/other_user}","gists_url":"https://api.github.com/users/bluegills-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/bluegills-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluegills-2014/subscriptions","organizations_url":"https://api.github.com/users/bluegills-2014/orgs","repos_url":"https://api.github.com/users/bluegills-2014/repos","events_url":"https://api.github.com/users/bluegills-2014/events{/privacy}","received_events_url":"https://api.github.com/users/bluegills-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":29255903,"name":"metaoverflow","full_name":"bluegills-2014/metaoverflow","owner":{"login":"bluegills-2014","id":6732228,"avatar_url":"https://avatars.githubusercontent.com/u/6732228?v=3","gravatar_id":"","url":"https://api.github.com/users/bluegills-2014","html_url":"https://github.com/bluegills-2014","followers_url":"https://api.github.com/users/bluegills-2014/followers","following_url":"https://api.github.com/users/bluegills-2014/following{/other_user}","gists_url":"https://api.github.com/users/bluegills-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/bluegills-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluegills-2014/subscriptions","organizations_url":"https://api.github.com/users/bluegills-2014/orgs","repos_url":"https://api.github.com/users/bluegills-2014/repos","events_url":"https://api.github.com/users/bluegills-2014/events{/privacy}","received_events_url":"https://api.github.com/users/bluegills-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bluegills-2014/metaoverflow","description":"","fork":false,"url":"https://api.github.com/repos/bluegills-2014/metaoverflow","forks_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/forks","keys_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/teams","hooks_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/hooks","issue_events_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/events{/number}","events_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/events","assignees_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/assignees{/user}","branches_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/branches{/branch}","tags_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/tags","blobs_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/statuses/{sha}","languages_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/languages","stargazers_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/stargazers","contributors_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/contributors","subscribers_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/subscribers","subscription_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/subscription","commits_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/comments/{number}","contents_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/contents/{+path}","compare_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/merges","archive_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/downloads","issues_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues{/number}","pulls_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls{/number}","milestones_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/milestones{/number}","notifications_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/labels{/name}","releases_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/releases{/id}","created_at":"2015-01-14T17:17:39Z","updated_at":"2015-01-16T21:54:48Z","pushed_at":"2015-01-16T21:54:48Z","git_url":"git://github.com/bluegills-2014/metaoverflow.git","ssh_url":"git@github.com:bluegills-2014/metaoverflow.git","clone_url":"https://github.com/bluegills-2014/metaoverflow.git","svn_url":"https://github.com/bluegills-2014/metaoverflow","homepage":null,"size":1354,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"bluegills-2014:review","ref":"review","sha":"a2aebb02e650d40f17307de8cd87f89e8bcc7c5c","user":{"login":"bluegills-2014","id":6732228,"avatar_url":"https://avatars.githubusercontent.com/u/6732228?v=3","gravatar_id":"","url":"https://api.github.com/users/bluegills-2014","html_url":"https://github.com/bluegills-2014","followers_url":"https://api.github.com/users/bluegills-2014/followers","following_url":"https://api.github.com/users/bluegills-2014/following{/other_user}","gists_url":"https://api.github.com/users/bluegills-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/bluegills-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluegills-2014/subscriptions","organizations_url":"https://api.github.com/users/bluegills-2014/orgs","repos_url":"https://api.github.com/users/bluegills-2014/repos","events_url":"https://api.github.com/users/bluegills-2014/events{/privacy}","received_events_url":"https://api.github.com/users/bluegills-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":29255903,"name":"metaoverflow","full_name":"bluegills-2014/metaoverflow","owner":{"login":"bluegills-2014","id":6732228,"avatar_url":"https://avatars.githubusercontent.com/u/6732228?v=3","gravatar_id":"","url":"https://api.github.com/users/bluegills-2014","html_url":"https://github.com/bluegills-2014","followers_url":"https://api.github.com/users/bluegills-2014/followers","following_url":"https://api.github.com/users/bluegills-2014/following{/other_user}","gists_url":"https://api.github.com/users/bluegills-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/bluegills-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluegills-2014/subscriptions","organizations_url":"https://api.github.com/users/bluegills-2014/orgs","repos_url":"https://api.github.com/users/bluegills-2014/repos","events_url":"https://api.github.com/users/bluegills-2014/events{/privacy}","received_events_url":"https://api.github.com/users/bluegills-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bluegills-2014/metaoverflow","description":"","fork":false,"url":"https://api.github.com/repos/bluegills-2014/metaoverflow","forks_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/forks","keys_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/teams","hooks_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/hooks","issue_events_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/events{/number}","events_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/events","assignees_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/assignees{/user}","branches_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/branches{/branch}","tags_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/tags","blobs_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/statuses/{sha}","languages_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/languages","stargazers_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/stargazers","contributors_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/contributors","subscribers_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/subscribers","subscription_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/subscription","commits_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/comments/{number}","contents_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/contents/{+path}","compare_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/merges","archive_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/downloads","issues_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues{/number}","pulls_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls{/number}","milestones_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/milestones{/number}","notifications_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/labels{/name}","releases_url":"https://api.github.com/repos/bluegills-2014/metaoverflow/releases{/id}","created_at":"2015-01-14T17:17:39Z","updated_at":"2015-01-16T21:54:48Z","pushed_at":"2015-01-16T21:54:48Z","git_url":"git://github.com/bluegills-2014/metaoverflow.git","ssh_url":"git@github.com:bluegills-2014/metaoverflow.git","clone_url":"https://github.com/bluegills-2014/metaoverflow.git","svn_url":"https://github.com/bluegills-2014/metaoverflow","homepage":null,"size":1354,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/bluegills-2014/metaoverflow/pulls/14"},"html":{"href":"https://github.com/bluegills-2014/metaoverflow/pull/14"},"issue":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/14"},"comments":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/bluegills-2014/metaoverflow/statuses/d84c8ed0b99a9bf4b4ed1652a470f88792c3228a"}}}}