{"action":"created","comment":{"url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/comments/81088347","pull_request_review_id":2093253,"id":81088347,"diff_hunk":"@@ -1,4 +1,6 @@\n class AnswerVariant < ActiveRecord::Base\n+  validates :answer, presence: true","path":"app/models/answer_variant.rb","position":2,"original_position":2,"commit_id":"a15e6b4c0e0a54ba26af9cb2427f51c73301093e","original_commit_id":"29a52b8cda3fc997fea46c6e7315f682fd2045c5","user":{"login":"vladimirbazhanov","id":275709,"avatar_url":"https://avatars.githubusercontent.com/u/275709?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimirbazhanov","html_url":"https://github.com/vladimirbazhanov","followers_url":"https://api.github.com/users/vladimirbazhanov/followers","following_url":"https://api.github.com/users/vladimirbazhanov/following{/other_user}","gists_url":"https://api.github.com/users/vladimirbazhanov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimirbazhanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimirbazhanov/subscriptions","organizations_url":"https://api.github.com/users/vladimirbazhanov/orgs","repos_url":"https://api.github.com/users/vladimirbazhanov/repos","events_url":"https://api.github.com/users/vladimirbazhanov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimirbazhanov/received_events","type":"User","site_admin":false},"body":"I think we need to create new task (for future refactoring) to rename answer field to answer_text and question field to question_text\r\n\r\nNow we have question.question and answer.answer -> this is little confusing to people, I think :(","created_at":"2016-09-29T08:35:52Z","updated_at":"2016-09-29T08:35:52Z","html_url":"https://github.com/vladimirbazhanov/flatstack-game/pull/22#discussion_r81088347","pull_request_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/comments/81088347"},"html":{"href":"https://github.com/vladimirbazhanov/flatstack-game/pull/22#discussion_r81088347"},"pull_request":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22","id":87267611,"html_url":"https://github.com/vladimirbazhanov/flatstack-game/pull/22","diff_url":"https://github.com/vladimirbazhanov/flatstack-game/pull/22.diff","patch_url":"https://github.com/vladimirbazhanov/flatstack-game/pull/22.patch","issue_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/issues/22","number":22,"state":"open","locked":false,"title":"tests for 'answer_variant', 'question' models and UserGamesStatistic added","user":{"login":"RamiliaNigmatullina","id":15108502,"avatar_url":"https://avatars.githubusercontent.com/u/15108502?v=3","gravatar_id":"","url":"https://api.github.com/users/RamiliaNigmatullina","html_url":"https://github.com/RamiliaNigmatullina","followers_url":"https://api.github.com/users/RamiliaNigmatullina/followers","following_url":"https://api.github.com/users/RamiliaNigmatullina/following{/other_user}","gists_url":"https://api.github.com/users/RamiliaNigmatullina/gists{/gist_id}","starred_url":"https://api.github.com/users/RamiliaNigmatullina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamiliaNigmatullina/subscriptions","organizations_url":"https://api.github.com/users/RamiliaNigmatullina/orgs","repos_url":"https://api.github.com/users/RamiliaNigmatullina/repos","events_url":"https://api.github.com/users/RamiliaNigmatullina/events{/privacy}","received_events_url":"https://api.github.com/users/RamiliaNigmatullina/received_events","type":"User","site_admin":false},"body":"…class added","created_at":"2016-09-29T08:31:46Z","updated_at":"2016-09-29T08:35:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81d8a91c2db94915b8a8c223abaade0aaae15533","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22/commits","review_comments_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22/comments","review_comment_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/issues/22/comments","statuses_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/statuses/a15e6b4c0e0a54ba26af9cb2427f51c73301093e","head":{"label":"RamiliaNigmatullina:tests","ref":"tests","sha":"a15e6b4c0e0a54ba26af9cb2427f51c73301093e","user":{"login":"RamiliaNigmatullina","id":15108502,"avatar_url":"https://avatars.githubusercontent.com/u/15108502?v=3","gravatar_id":"","url":"https://api.github.com/users/RamiliaNigmatullina","html_url":"https://github.com/RamiliaNigmatullina","followers_url":"https://api.github.com/users/RamiliaNigmatullina/followers","following_url":"https://api.github.com/users/RamiliaNigmatullina/following{/other_user}","gists_url":"https://api.github.com/users/RamiliaNigmatullina/gists{/gist_id}","starred_url":"https://api.github.com/users/RamiliaNigmatullina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamiliaNigmatullina/subscriptions","organizations_url":"https://api.github.com/users/RamiliaNigmatullina/orgs","repos_url":"https://api.github.com/users/RamiliaNigmatullina/repos","events_url":"https://api.github.com/users/RamiliaNigmatullina/events{/privacy}","received_events_url":"https://api.github.com/users/RamiliaNigmatullina/received_events","type":"User","site_admin":false},"repo":{"id":68300848,"name":"flatstack-game","full_name":"RamiliaNigmatullina/flatstack-game","owner":{"login":"RamiliaNigmatullina","id":15108502,"avatar_url":"https://avatars.githubusercontent.com/u/15108502?v=3","gravatar_id":"","url":"https://api.github.com/users/RamiliaNigmatullina","html_url":"https://github.com/RamiliaNigmatullina","followers_url":"https://api.github.com/users/RamiliaNigmatullina/followers","following_url":"https://api.github.com/users/RamiliaNigmatullina/following{/other_user}","gists_url":"https://api.github.com/users/RamiliaNigmatullina/gists{/gist_id}","starred_url":"https://api.github.com/users/RamiliaNigmatullina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamiliaNigmatullina/subscriptions","organizations_url":"https://api.github.com/users/RamiliaNigmatullina/orgs","repos_url":"https://api.github.com/users/RamiliaNigmatullina/repos","events_url":"https://api.github.com/users/RamiliaNigmatullina/events{/privacy}","received_events_url":"https://api.github.com/users/RamiliaNigmatullina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RamiliaNigmatullina/flatstack-game","description":"Flatstack sandbox project","fork":true,"url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game","forks_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/forks","keys_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/teams","hooks_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/hooks","issue_events_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/issues/events{/number}","events_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/events","assignees_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/assignees{/user}","branches_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/branches{/branch}","tags_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/tags","blobs_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/git/refs{/sha}","trees_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/statuses/{sha}","languages_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/languages","stargazers_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/stargazers","contributors_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/contributors","subscribers_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/subscribers","subscription_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/subscription","commits_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/commits{/sha}","git_commits_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/git/commits{/sha}","comments_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/comments{/number}","issue_comment_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/issues/comments{/number}","contents_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/contents/{+path}","compare_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/merges","archive_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/downloads","issues_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/issues{/number}","pulls_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/pulls{/number}","milestones_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/milestones{/number}","notifications_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/labels{/name}","releases_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/releases{/id}","deployments_url":"https://api.github.com/repos/RamiliaNigmatullina/flatstack-game/deployments","created_at":"2016-09-15T14:22:11Z","updated_at":"2016-09-15T14:22:13Z","pushed_at":"2016-09-29T08:34:28Z","git_url":"git://github.com/RamiliaNigmatullina/flatstack-game.git","ssh_url":"git@github.com:RamiliaNigmatullina/flatstack-game.git","clone_url":"https://github.com/RamiliaNigmatullina/flatstack-game.git","svn_url":"https://github.com/RamiliaNigmatullina/flatstack-game","homepage":null,"size":1604,"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":"vladimirbazhanov:master","ref":"master","sha":"f2d427b1559fe9a1b6a7d7c7b5491fe0f8771a7a","user":{"login":"vladimirbazhanov","id":275709,"avatar_url":"https://avatars.githubusercontent.com/u/275709?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimirbazhanov","html_url":"https://github.com/vladimirbazhanov","followers_url":"https://api.github.com/users/vladimirbazhanov/followers","following_url":"https://api.github.com/users/vladimirbazhanov/following{/other_user}","gists_url":"https://api.github.com/users/vladimirbazhanov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimirbazhanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimirbazhanov/subscriptions","organizations_url":"https://api.github.com/users/vladimirbazhanov/orgs","repos_url":"https://api.github.com/users/vladimirbazhanov/repos","events_url":"https://api.github.com/users/vladimirbazhanov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimirbazhanov/received_events","type":"User","site_admin":false},"repo":{"id":64687963,"name":"flatstack-game","full_name":"vladimirbazhanov/flatstack-game","owner":{"login":"vladimirbazhanov","id":275709,"avatar_url":"https://avatars.githubusercontent.com/u/275709?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimirbazhanov","html_url":"https://github.com/vladimirbazhanov","followers_url":"https://api.github.com/users/vladimirbazhanov/followers","following_url":"https://api.github.com/users/vladimirbazhanov/following{/other_user}","gists_url":"https://api.github.com/users/vladimirbazhanov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimirbazhanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimirbazhanov/subscriptions","organizations_url":"https://api.github.com/users/vladimirbazhanov/orgs","repos_url":"https://api.github.com/users/vladimirbazhanov/repos","events_url":"https://api.github.com/users/vladimirbazhanov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimirbazhanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vladimirbazhanov/flatstack-game","description":"Flatstack sandbox project","fork":false,"url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game","forks_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/forks","keys_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/teams","hooks_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/hooks","issue_events_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/issues/events{/number}","events_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/events","assignees_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/assignees{/user}","branches_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/branches{/branch}","tags_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/tags","blobs_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/git/refs{/sha}","trees_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/statuses/{sha}","languages_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/languages","stargazers_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/stargazers","contributors_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/contributors","subscribers_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/subscribers","subscription_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/subscription","commits_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/commits{/sha}","git_commits_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/git/commits{/sha}","comments_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/comments{/number}","issue_comment_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/issues/comments{/number}","contents_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/contents/{+path}","compare_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/merges","archive_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/downloads","issues_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/issues{/number}","pulls_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls{/number}","milestones_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/milestones{/number}","notifications_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/labels{/name}","releases_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/releases{/id}","deployments_url":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/deployments","created_at":"2016-08-01T17:35:38Z","updated_at":"2016-08-01T17:43:49Z","pushed_at":"2016-09-29T08:34:29Z","git_url":"git://github.com/vladimirbazhanov/flatstack-game.git","ssh_url":"git@github.com:vladimirbazhanov/flatstack-game.git","clone_url":"https://github.com/vladimirbazhanov/flatstack-game.git","svn_url":"https://github.com/vladimirbazhanov/flatstack-game","homepage":null,"size":1603,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":1,"forks":17,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22"},"html":{"href":"https://github.com/vladimirbazhanov/flatstack-game/pull/22"},"issue":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/issues/22"},"comments":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/vladimirbazhanov/flatstack-game/statuses/a15e6b4c0e0a54ba26af9cb2427f51c73301093e"}}}}
{"actor":{"display_login":"vladimirbazhanov"}}