{"action":"created","comment":{"url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/comments/47488437","id":47488437,"diff_hunk":"@@ -0,0 +1,7 @@\n+class Answer < ActiveRecord::Base\n+\n+  validates :body, presence: true","path":"app/models/answer.rb","position":3,"original_position":3,"commit_id":"44e640b881c5c6e3e1ba96a7b7a9643bba0d9031","original_commit_id":"44e640b881c5c6e3e1ba96a7b7a9643bba0d9031","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"нужна валидация на question_id","created_at":"2015-12-14T11:48:29Z","updated_at":"2015-12-14T11:48:29Z","html_url":"https://github.com/sbolshakov/sb_stackovfl/pull/1#discussion_r47488437","pull_request_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/comments/47488437"},"html":{"href":"https://github.com/sbolshakov/sb_stackovfl/pull/1#discussion_r47488437"},"pull_request":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/1","id":53534575,"html_url":"https://github.com/sbolshakov/sb_stackovfl/pull/1","diff_url":"https://github.com/sbolshakov/sb_stackovfl/pull/1.diff","patch_url":"https://github.com/sbolshakov/sb_stackovfl/pull/1.patch","issue_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/1","number":1,"state":"open","locked":false,"title":"Questions and Answers. Models, Controllers, Links and Specs","user":{"login":"sbolshakov","id":13338501,"avatar_url":"https://avatars.githubusercontent.com/u/13338501?v=3","gravatar_id":"","url":"https://api.github.com/users/sbolshakov","html_url":"https://github.com/sbolshakov","followers_url":"https://api.github.com/users/sbolshakov/followers","following_url":"https://api.github.com/users/sbolshakov/following{/other_user}","gists_url":"https://api.github.com/users/sbolshakov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbolshakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbolshakov/subscriptions","organizations_url":"https://api.github.com/users/sbolshakov/orgs","repos_url":"https://api.github.com/users/sbolshakov/repos","events_url":"https://api.github.com/users/sbolshakov/events{/privacy}","received_events_url":"https://api.github.com/users/sbolshakov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T08:08:17Z","updated_at":"2015-12-14T11:48:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0db7eaf32df91e4065e54adaeb5bd9bc11887a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/1/comments","statuses_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/statuses/44e640b881c5c6e3e1ba96a7b7a9643bba0d9031","head":{"label":"sbolshakov:Questions_Andswers","ref":"Questions_Andswers","sha":"44e640b881c5c6e3e1ba96a7b7a9643bba0d9031","user":{"login":"sbolshakov","id":13338501,"avatar_url":"https://avatars.githubusercontent.com/u/13338501?v=3","gravatar_id":"","url":"https://api.github.com/users/sbolshakov","html_url":"https://github.com/sbolshakov","followers_url":"https://api.github.com/users/sbolshakov/followers","following_url":"https://api.github.com/users/sbolshakov/following{/other_user}","gists_url":"https://api.github.com/users/sbolshakov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbolshakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbolshakov/subscriptions","organizations_url":"https://api.github.com/users/sbolshakov/orgs","repos_url":"https://api.github.com/users/sbolshakov/repos","events_url":"https://api.github.com/users/sbolshakov/events{/privacy}","received_events_url":"https://api.github.com/users/sbolshakov/received_events","type":"User","site_admin":false},"repo":{"id":47937177,"name":"sb_stackovfl","full_name":"sbolshakov/sb_stackovfl","owner":{"login":"sbolshakov","id":13338501,"avatar_url":"https://avatars.githubusercontent.com/u/13338501?v=3","gravatar_id":"","url":"https://api.github.com/users/sbolshakov","html_url":"https://github.com/sbolshakov","followers_url":"https://api.github.com/users/sbolshakov/followers","following_url":"https://api.github.com/users/sbolshakov/following{/other_user}","gists_url":"https://api.github.com/users/sbolshakov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbolshakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbolshakov/subscriptions","organizations_url":"https://api.github.com/users/sbolshakov/orgs","repos_url":"https://api.github.com/users/sbolshakov/repos","events_url":"https://api.github.com/users/sbolshakov/events{/privacy}","received_events_url":"https://api.github.com/users/sbolshakov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbolshakov/sb_stackovfl","description":"Second RoR project. Clone of StackOverflow.com","fork":false,"url":"https://api.github.com/repos/sbolshakov/sb_stackovfl","forks_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/forks","keys_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/teams","hooks_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/hooks","issue_events_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/events{/number}","events_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/events","assignees_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/assignees{/user}","branches_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/branches{/branch}","tags_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/tags","blobs_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/statuses/{sha}","languages_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/languages","stargazers_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/stargazers","contributors_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/contributors","subscribers_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/subscribers","subscription_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/subscription","commits_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/contents/{+path}","compare_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/merges","archive_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/downloads","issues_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues{/number}","pulls_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls{/number}","milestones_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/milestones{/number}","notifications_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/labels{/name}","releases_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/releases{/id}","created_at":"2015-12-13T21:29:34Z","updated_at":"2015-12-13T21:36:50Z","pushed_at":"2015-12-14T08:08:17Z","git_url":"git://github.com/sbolshakov/sb_stackovfl.git","ssh_url":"git@github.com:sbolshakov/sb_stackovfl.git","clone_url":"https://github.com/sbolshakov/sb_stackovfl.git","svn_url":"https://github.com/sbolshakov/sb_stackovfl","homepage":null,"size":31,"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":"sbolshakov:master","ref":"master","sha":"a7b060470fcd23e090844be675804f7c1df1a9b9","user":{"login":"sbolshakov","id":13338501,"avatar_url":"https://avatars.githubusercontent.com/u/13338501?v=3","gravatar_id":"","url":"https://api.github.com/users/sbolshakov","html_url":"https://github.com/sbolshakov","followers_url":"https://api.github.com/users/sbolshakov/followers","following_url":"https://api.github.com/users/sbolshakov/following{/other_user}","gists_url":"https://api.github.com/users/sbolshakov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbolshakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbolshakov/subscriptions","organizations_url":"https://api.github.com/users/sbolshakov/orgs","repos_url":"https://api.github.com/users/sbolshakov/repos","events_url":"https://api.github.com/users/sbolshakov/events{/privacy}","received_events_url":"https://api.github.com/users/sbolshakov/received_events","type":"User","site_admin":false},"repo":{"id":47937177,"name":"sb_stackovfl","full_name":"sbolshakov/sb_stackovfl","owner":{"login":"sbolshakov","id":13338501,"avatar_url":"https://avatars.githubusercontent.com/u/13338501?v=3","gravatar_id":"","url":"https://api.github.com/users/sbolshakov","html_url":"https://github.com/sbolshakov","followers_url":"https://api.github.com/users/sbolshakov/followers","following_url":"https://api.github.com/users/sbolshakov/following{/other_user}","gists_url":"https://api.github.com/users/sbolshakov/gists{/gist_id}","starred_url":"https://api.github.com/users/sbolshakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbolshakov/subscriptions","organizations_url":"https://api.github.com/users/sbolshakov/orgs","repos_url":"https://api.github.com/users/sbolshakov/repos","events_url":"https://api.github.com/users/sbolshakov/events{/privacy}","received_events_url":"https://api.github.com/users/sbolshakov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbolshakov/sb_stackovfl","description":"Second RoR project. Clone of StackOverflow.com","fork":false,"url":"https://api.github.com/repos/sbolshakov/sb_stackovfl","forks_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/forks","keys_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/teams","hooks_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/hooks","issue_events_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/events{/number}","events_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/events","assignees_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/assignees{/user}","branches_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/branches{/branch}","tags_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/tags","blobs_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/statuses/{sha}","languages_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/languages","stargazers_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/stargazers","contributors_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/contributors","subscribers_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/subscribers","subscription_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/subscription","commits_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/contents/{+path}","compare_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/merges","archive_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/downloads","issues_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues{/number}","pulls_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls{/number}","milestones_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/milestones{/number}","notifications_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/labels{/name}","releases_url":"https://api.github.com/repos/sbolshakov/sb_stackovfl/releases{/id}","created_at":"2015-12-13T21:29:34Z","updated_at":"2015-12-13T21:36:50Z","pushed_at":"2015-12-14T08:08:17Z","git_url":"git://github.com/sbolshakov/sb_stackovfl.git","ssh_url":"git@github.com:sbolshakov/sb_stackovfl.git","clone_url":"https://github.com/sbolshakov/sb_stackovfl.git","svn_url":"https://github.com/sbolshakov/sb_stackovfl","homepage":null,"size":31,"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/sbolshakov/sb_stackovfl/pulls/1"},"html":{"href":"https://github.com/sbolshakov/sb_stackovfl/pull/1"},"issue":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/1"},"comments":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sbolshakov/sb_stackovfl/statuses/44e640b881c5c6e3e1ba96a7b7a9643bba0d9031"}}}}