{"action":"created","comment":{"url":"https://api.github.com/repos/uirobot/qna/pulls/comments/26960205","id":26960205,"diff_hunk":"@@ -1,4 +1,5 @@\n class Question < ActiveRecord::Base\n   validates :title, :body, presence: true","path":"app/models/question.rb","position":2,"original_position":2,"commit_id":"b65cd70bc4f373edaeb1c9e03f1cce3499d4cb4b","original_commit_id":"b65cd70bc4f373edaeb1c9e03f1cce3499d4cb4b","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":"Сначала надо писать ассоциации, потом валидации.","created_at":"2015-03-23T17:44:07Z","updated_at":"2015-03-23T17:44:07Z","html_url":"https://github.com/uirobot/qna/pull/3#discussion_r26960205","pull_request_url":"https://api.github.com/repos/uirobot/qna/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/uirobot/qna/pulls/comments/26960205"},"html":{"href":"https://github.com/uirobot/qna/pull/3#discussion_r26960205"},"pull_request":{"href":"https://api.github.com/repos/uirobot/qna/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/uirobot/qna/pulls/3","id":31742435,"html_url":"https://github.com/uirobot/qna/pull/3","diff_url":"https://github.com/uirobot/qna/pull/3.diff","patch_url":"https://github.com/uirobot/qna/pull/3.patch","issue_url":"https://api.github.com/repos/uirobot/qna/issues/3","number":3,"state":"open","locked":false,"title":"les-5-acceptance","user":{"login":"uirobot","id":503808,"avatar_url":"https://avatars.githubusercontent.com/u/503808?v=3","gravatar_id":"","url":"https://api.github.com/users/uirobot","html_url":"https://github.com/uirobot","followers_url":"https://api.github.com/users/uirobot/followers","following_url":"https://api.github.com/users/uirobot/following{/other_user}","gists_url":"https://api.github.com/users/uirobot/gists{/gist_id}","starred_url":"https://api.github.com/users/uirobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uirobot/subscriptions","organizations_url":"https://api.github.com/users/uirobot/orgs","repos_url":"https://api.github.com/users/uirobot/repos","events_url":"https://api.github.com/users/uirobot/events{/privacy}","received_events_url":"https://api.github.com/users/uirobot/received_events","type":"User","site_admin":false},"body":"Очень и очень долго, технически ничего сложного, вроде как все понятно.\r\n\r\nРаботал по этапам из задания, ничего особенного рассказать не могу, ибо моя цель была просто проникнутся духом и концепцией TDD\r\n\r\nПисать с начала тесты оказалось сложновато, ибо когда доходишь до реализации понимаешь что допустил ошибки в начале. Нужно точить скил","created_at":"2015-03-23T15:26:35Z","updated_at":"2015-03-23T17:44:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7125f3f97565ff09540b35670951aafd66419d00","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/uirobot/qna/pulls/3/commits","review_comments_url":"https://api.github.com/repos/uirobot/qna/pulls/3/comments","review_comment_url":"https://api.github.com/repos/uirobot/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uirobot/qna/issues/3/comments","statuses_url":"https://api.github.com/repos/uirobot/qna/statuses/b65cd70bc4f373edaeb1c9e03f1cce3499d4cb4b","head":{"label":"uirobot:lesson-5-acceptance","ref":"lesson-5-acceptance","sha":"b65cd70bc4f373edaeb1c9e03f1cce3499d4cb4b","user":{"login":"uirobot","id":503808,"avatar_url":"https://avatars.githubusercontent.com/u/503808?v=3","gravatar_id":"","url":"https://api.github.com/users/uirobot","html_url":"https://github.com/uirobot","followers_url":"https://api.github.com/users/uirobot/followers","following_url":"https://api.github.com/users/uirobot/following{/other_user}","gists_url":"https://api.github.com/users/uirobot/gists{/gist_id}","starred_url":"https://api.github.com/users/uirobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uirobot/subscriptions","organizations_url":"https://api.github.com/users/uirobot/orgs","repos_url":"https://api.github.com/users/uirobot/repos","events_url":"https://api.github.com/users/uirobot/events{/privacy}","received_events_url":"https://api.github.com/users/uirobot/received_events","type":"User","site_admin":false},"repo":{"id":31968206,"name":"qna","full_name":"uirobot/qna","owner":{"login":"uirobot","id":503808,"avatar_url":"https://avatars.githubusercontent.com/u/503808?v=3","gravatar_id":"","url":"https://api.github.com/users/uirobot","html_url":"https://github.com/uirobot","followers_url":"https://api.github.com/users/uirobot/followers","following_url":"https://api.github.com/users/uirobot/following{/other_user}","gists_url":"https://api.github.com/users/uirobot/gists{/gist_id}","starred_url":"https://api.github.com/users/uirobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uirobot/subscriptions","organizations_url":"https://api.github.com/users/uirobot/orgs","repos_url":"https://api.github.com/users/uirobot/repos","events_url":"https://api.github.com/users/uirobot/events{/privacy}","received_events_url":"https://api.github.com/users/uirobot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uirobot/qna","description":"yet another stackoverflow killer (YASK)","fork":false,"url":"https://api.github.com/repos/uirobot/qna","forks_url":"https://api.github.com/repos/uirobot/qna/forks","keys_url":"https://api.github.com/repos/uirobot/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uirobot/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uirobot/qna/teams","hooks_url":"https://api.github.com/repos/uirobot/qna/hooks","issue_events_url":"https://api.github.com/repos/uirobot/qna/issues/events{/number}","events_url":"https://api.github.com/repos/uirobot/qna/events","assignees_url":"https://api.github.com/repos/uirobot/qna/assignees{/user}","branches_url":"https://api.github.com/repos/uirobot/qna/branches{/branch}","tags_url":"https://api.github.com/repos/uirobot/qna/tags","blobs_url":"https://api.github.com/repos/uirobot/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uirobot/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uirobot/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/uirobot/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uirobot/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/uirobot/qna/languages","stargazers_url":"https://api.github.com/repos/uirobot/qna/stargazers","contributors_url":"https://api.github.com/repos/uirobot/qna/contributors","subscribers_url":"https://api.github.com/repos/uirobot/qna/subscribers","subscription_url":"https://api.github.com/repos/uirobot/qna/subscription","commits_url":"https://api.github.com/repos/uirobot/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/uirobot/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/uirobot/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/uirobot/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/uirobot/qna/contents/{+path}","compare_url":"https://api.github.com/repos/uirobot/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uirobot/qna/merges","archive_url":"https://api.github.com/repos/uirobot/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uirobot/qna/downloads","issues_url":"https://api.github.com/repos/uirobot/qna/issues{/number}","pulls_url":"https://api.github.com/repos/uirobot/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/uirobot/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/uirobot/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uirobot/qna/labels{/name}","releases_url":"https://api.github.com/repos/uirobot/qna/releases{/id}","created_at":"2015-03-10T16:25:02Z","updated_at":"2015-03-18T07:48:47Z","pushed_at":"2015-03-23T15:27:43Z","git_url":"git://github.com/uirobot/qna.git","ssh_url":"git@github.com:uirobot/qna.git","clone_url":"https://github.com/uirobot/qna.git","svn_url":"https://github.com/uirobot/qna","homepage":null,"size":192,"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":"uirobot:master","ref":"master","sha":"69ad7827d45199004771750aab53d4f1026ffc08","user":{"login":"uirobot","id":503808,"avatar_url":"https://avatars.githubusercontent.com/u/503808?v=3","gravatar_id":"","url":"https://api.github.com/users/uirobot","html_url":"https://github.com/uirobot","followers_url":"https://api.github.com/users/uirobot/followers","following_url":"https://api.github.com/users/uirobot/following{/other_user}","gists_url":"https://api.github.com/users/uirobot/gists{/gist_id}","starred_url":"https://api.github.com/users/uirobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uirobot/subscriptions","organizations_url":"https://api.github.com/users/uirobot/orgs","repos_url":"https://api.github.com/users/uirobot/repos","events_url":"https://api.github.com/users/uirobot/events{/privacy}","received_events_url":"https://api.github.com/users/uirobot/received_events","type":"User","site_admin":false},"repo":{"id":31968206,"name":"qna","full_name":"uirobot/qna","owner":{"login":"uirobot","id":503808,"avatar_url":"https://avatars.githubusercontent.com/u/503808?v=3","gravatar_id":"","url":"https://api.github.com/users/uirobot","html_url":"https://github.com/uirobot","followers_url":"https://api.github.com/users/uirobot/followers","following_url":"https://api.github.com/users/uirobot/following{/other_user}","gists_url":"https://api.github.com/users/uirobot/gists{/gist_id}","starred_url":"https://api.github.com/users/uirobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uirobot/subscriptions","organizations_url":"https://api.github.com/users/uirobot/orgs","repos_url":"https://api.github.com/users/uirobot/repos","events_url":"https://api.github.com/users/uirobot/events{/privacy}","received_events_url":"https://api.github.com/users/uirobot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uirobot/qna","description":"yet another stackoverflow killer (YASK)","fork":false,"url":"https://api.github.com/repos/uirobot/qna","forks_url":"https://api.github.com/repos/uirobot/qna/forks","keys_url":"https://api.github.com/repos/uirobot/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uirobot/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uirobot/qna/teams","hooks_url":"https://api.github.com/repos/uirobot/qna/hooks","issue_events_url":"https://api.github.com/repos/uirobot/qna/issues/events{/number}","events_url":"https://api.github.com/repos/uirobot/qna/events","assignees_url":"https://api.github.com/repos/uirobot/qna/assignees{/user}","branches_url":"https://api.github.com/repos/uirobot/qna/branches{/branch}","tags_url":"https://api.github.com/repos/uirobot/qna/tags","blobs_url":"https://api.github.com/repos/uirobot/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uirobot/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uirobot/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/uirobot/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uirobot/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/uirobot/qna/languages","stargazers_url":"https://api.github.com/repos/uirobot/qna/stargazers","contributors_url":"https://api.github.com/repos/uirobot/qna/contributors","subscribers_url":"https://api.github.com/repos/uirobot/qna/subscribers","subscription_url":"https://api.github.com/repos/uirobot/qna/subscription","commits_url":"https://api.github.com/repos/uirobot/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/uirobot/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/uirobot/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/uirobot/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/uirobot/qna/contents/{+path}","compare_url":"https://api.github.com/repos/uirobot/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uirobot/qna/merges","archive_url":"https://api.github.com/repos/uirobot/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uirobot/qna/downloads","issues_url":"https://api.github.com/repos/uirobot/qna/issues{/number}","pulls_url":"https://api.github.com/repos/uirobot/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/uirobot/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/uirobot/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uirobot/qna/labels{/name}","releases_url":"https://api.github.com/repos/uirobot/qna/releases{/id}","created_at":"2015-03-10T16:25:02Z","updated_at":"2015-03-18T07:48:47Z","pushed_at":"2015-03-23T15:27:43Z","git_url":"git://github.com/uirobot/qna.git","ssh_url":"git@github.com:uirobot/qna.git","clone_url":"https://github.com/uirobot/qna.git","svn_url":"https://github.com/uirobot/qna","homepage":null,"size":192,"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/uirobot/qna/pulls/3"},"html":{"href":"https://github.com/uirobot/qna/pull/3"},"issue":{"href":"https://api.github.com/repos/uirobot/qna/issues/3"},"comments":{"href":"https://api.github.com/repos/uirobot/qna/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/uirobot/qna/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/uirobot/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uirobot/qna/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/uirobot/qna/statuses/b65cd70bc4f373edaeb1c9e03f1cce3499d4cb4b"}}}}