{"action":"created","comment":{"url":"https://api.github.com/repos/duytsev/flashcards/pulls/comments/33406855","id":33406855,"diff_hunk":"@@ -15,4 +17,18 @@ def texts_are_different\n   def set_default_review_date\n     self.review_date ||= Date.today + 3\n   end\n+\n+  def review_user_translation(original_text)\n+    if self.original_text.mb_chars.downcase == original_text.mb_chars.downcase","path":"app/models/card.rb","position":17,"original_position":17,"commit_id":"0637b2280bca19c76687f265fa3b24349e1920bd","original_commit_id":"0637b2280bca19c76687f265fa3b24349e1920bd","user":{"login":"mkdev-mentor-1","id":11962702,"avatar_url":"https://avatars.githubusercontent.com/u/11962702?v=3","gravatar_id":"","url":"https://api.github.com/users/mkdev-mentor-1","html_url":"https://github.com/mkdev-mentor-1","followers_url":"https://api.github.com/users/mkdev-mentor-1/followers","following_url":"https://api.github.com/users/mkdev-mentor-1/following{/other_user}","gists_url":"https://api.github.com/users/mkdev-mentor-1/gists{/gist_id}","starred_url":"https://api.github.com/users/mkdev-mentor-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkdev-mentor-1/subscriptions","organizations_url":"https://api.github.com/users/mkdev-mentor-1/orgs","repos_url":"https://api.github.com/users/mkdev-mentor-1/repos","events_url":"https://api.github.com/users/mkdev-mentor-1/events{/privacy}","received_events_url":"https://api.github.com/users/mkdev-mentor-1/received_events","type":"User","site_admin":false},"body":"`.mb_chars.downcase` => DRY","created_at":"2015-06-27T00:34:55Z","updated_at":"2015-06-27T00:34:55Z","html_url":"https://github.com/duytsev/flashcards/pull/5#discussion_r33406855","pull_request_url":"https://api.github.com/repos/duytsev/flashcards/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/duytsev/flashcards/pulls/comments/33406855"},"html":{"href":"https://github.com/duytsev/flashcards/pull/5#discussion_r33406855"},"pull_request":{"href":"https://api.github.com/repos/duytsev/flashcards/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/duytsev/flashcards/pulls/5","id":38376314,"html_url":"https://github.com/duytsev/flashcards/pull/5","diff_url":"https://github.com/duytsev/flashcards/pull/5.diff","patch_url":"https://github.com/duytsev/flashcards/pull/5.patch","issue_url":"https://api.github.com/repos/duytsev/flashcards/issues/5","number":5,"state":"open","locked":false,"title":"Task 5","user":{"login":"duytsev","id":4367738,"avatar_url":"https://avatars.githubusercontent.com/u/4367738?v=3","gravatar_id":"","url":"https://api.github.com/users/duytsev","html_url":"https://github.com/duytsev","followers_url":"https://api.github.com/users/duytsev/followers","following_url":"https://api.github.com/users/duytsev/following{/other_user}","gists_url":"https://api.github.com/users/duytsev/gists{/gist_id}","starred_url":"https://api.github.com/users/duytsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duytsev/subscriptions","organizations_url":"https://api.github.com/users/duytsev/orgs","repos_url":"https://api.github.com/users/duytsev/repos","events_url":"https://api.github.com/users/duytsev/events{/privacy}","received_events_url":"https://api.github.com/users/duytsev/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-23T19:58:58Z","updated_at":"2015-06-27T00:34:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c83d85b98d9a30ca281c25e0cf338a3bd3425f0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/duytsev/flashcards/pulls/5/commits","review_comments_url":"https://api.github.com/repos/duytsev/flashcards/pulls/5/comments","review_comment_url":"https://api.github.com/repos/duytsev/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duytsev/flashcards/issues/5/comments","statuses_url":"https://api.github.com/repos/duytsev/flashcards/statuses/0637b2280bca19c76687f265fa3b24349e1920bd","head":{"label":"duytsev:task-5","ref":"task-5","sha":"0637b2280bca19c76687f265fa3b24349e1920bd","user":{"login":"duytsev","id":4367738,"avatar_url":"https://avatars.githubusercontent.com/u/4367738?v=3","gravatar_id":"","url":"https://api.github.com/users/duytsev","html_url":"https://github.com/duytsev","followers_url":"https://api.github.com/users/duytsev/followers","following_url":"https://api.github.com/users/duytsev/following{/other_user}","gists_url":"https://api.github.com/users/duytsev/gists{/gist_id}","starred_url":"https://api.github.com/users/duytsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duytsev/subscriptions","organizations_url":"https://api.github.com/users/duytsev/orgs","repos_url":"https://api.github.com/users/duytsev/repos","events_url":"https://api.github.com/users/duytsev/events{/privacy}","received_events_url":"https://api.github.com/users/duytsev/received_events","type":"User","site_admin":false},"repo":{"id":37420964,"name":"flashcards","full_name":"duytsev/flashcards","owner":{"login":"duytsev","id":4367738,"avatar_url":"https://avatars.githubusercontent.com/u/4367738?v=3","gravatar_id":"","url":"https://api.github.com/users/duytsev","html_url":"https://github.com/duytsev","followers_url":"https://api.github.com/users/duytsev/followers","following_url":"https://api.github.com/users/duytsev/following{/other_user}","gists_url":"https://api.github.com/users/duytsev/gists{/gist_id}","starred_url":"https://api.github.com/users/duytsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duytsev/subscriptions","organizations_url":"https://api.github.com/users/duytsev/orgs","repos_url":"https://api.github.com/users/duytsev/repos","events_url":"https://api.github.com/users/duytsev/events{/privacy}","received_events_url":"https://api.github.com/users/duytsev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/duytsev/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/duytsev/flashcards","forks_url":"https://api.github.com/repos/duytsev/flashcards/forks","keys_url":"https://api.github.com/repos/duytsev/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duytsev/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duytsev/flashcards/teams","hooks_url":"https://api.github.com/repos/duytsev/flashcards/hooks","issue_events_url":"https://api.github.com/repos/duytsev/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/duytsev/flashcards/events","assignees_url":"https://api.github.com/repos/duytsev/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/duytsev/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/duytsev/flashcards/tags","blobs_url":"https://api.github.com/repos/duytsev/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duytsev/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duytsev/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/duytsev/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duytsev/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/duytsev/flashcards/languages","stargazers_url":"https://api.github.com/repos/duytsev/flashcards/stargazers","contributors_url":"https://api.github.com/repos/duytsev/flashcards/contributors","subscribers_url":"https://api.github.com/repos/duytsev/flashcards/subscribers","subscription_url":"https://api.github.com/repos/duytsev/flashcards/subscription","commits_url":"https://api.github.com/repos/duytsev/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/duytsev/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/duytsev/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/duytsev/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/duytsev/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/duytsev/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duytsev/flashcards/merges","archive_url":"https://api.github.com/repos/duytsev/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duytsev/flashcards/downloads","issues_url":"https://api.github.com/repos/duytsev/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/duytsev/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/duytsev/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/duytsev/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duytsev/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/duytsev/flashcards/releases{/id}","created_at":"2015-06-14T16:53:43Z","updated_at":"2015-06-15T18:15:57Z","pushed_at":"2015-06-26T21:06:45Z","git_url":"git://github.com/duytsev/flashcards.git","ssh_url":"git@github.com:duytsev/flashcards.git","clone_url":"https://github.com/duytsev/flashcards.git","svn_url":"https://github.com/duytsev/flashcards","homepage":null,"size":632,"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":"duytsev:master","ref":"master","sha":"24a2fccc1c7296e2c4584abf8eaddb95be55bc17","user":{"login":"duytsev","id":4367738,"avatar_url":"https://avatars.githubusercontent.com/u/4367738?v=3","gravatar_id":"","url":"https://api.github.com/users/duytsev","html_url":"https://github.com/duytsev","followers_url":"https://api.github.com/users/duytsev/followers","following_url":"https://api.github.com/users/duytsev/following{/other_user}","gists_url":"https://api.github.com/users/duytsev/gists{/gist_id}","starred_url":"https://api.github.com/users/duytsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duytsev/subscriptions","organizations_url":"https://api.github.com/users/duytsev/orgs","repos_url":"https://api.github.com/users/duytsev/repos","events_url":"https://api.github.com/users/duytsev/events{/privacy}","received_events_url":"https://api.github.com/users/duytsev/received_events","type":"User","site_admin":false},"repo":{"id":37420964,"name":"flashcards","full_name":"duytsev/flashcards","owner":{"login":"duytsev","id":4367738,"avatar_url":"https://avatars.githubusercontent.com/u/4367738?v=3","gravatar_id":"","url":"https://api.github.com/users/duytsev","html_url":"https://github.com/duytsev","followers_url":"https://api.github.com/users/duytsev/followers","following_url":"https://api.github.com/users/duytsev/following{/other_user}","gists_url":"https://api.github.com/users/duytsev/gists{/gist_id}","starred_url":"https://api.github.com/users/duytsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duytsev/subscriptions","organizations_url":"https://api.github.com/users/duytsev/orgs","repos_url":"https://api.github.com/users/duytsev/repos","events_url":"https://api.github.com/users/duytsev/events{/privacy}","received_events_url":"https://api.github.com/users/duytsev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/duytsev/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/duytsev/flashcards","forks_url":"https://api.github.com/repos/duytsev/flashcards/forks","keys_url":"https://api.github.com/repos/duytsev/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duytsev/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duytsev/flashcards/teams","hooks_url":"https://api.github.com/repos/duytsev/flashcards/hooks","issue_events_url":"https://api.github.com/repos/duytsev/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/duytsev/flashcards/events","assignees_url":"https://api.github.com/repos/duytsev/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/duytsev/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/duytsev/flashcards/tags","blobs_url":"https://api.github.com/repos/duytsev/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duytsev/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duytsev/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/duytsev/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duytsev/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/duytsev/flashcards/languages","stargazers_url":"https://api.github.com/repos/duytsev/flashcards/stargazers","contributors_url":"https://api.github.com/repos/duytsev/flashcards/contributors","subscribers_url":"https://api.github.com/repos/duytsev/flashcards/subscribers","subscription_url":"https://api.github.com/repos/duytsev/flashcards/subscription","commits_url":"https://api.github.com/repos/duytsev/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/duytsev/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/duytsev/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/duytsev/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/duytsev/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/duytsev/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duytsev/flashcards/merges","archive_url":"https://api.github.com/repos/duytsev/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duytsev/flashcards/downloads","issues_url":"https://api.github.com/repos/duytsev/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/duytsev/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/duytsev/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/duytsev/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duytsev/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/duytsev/flashcards/releases{/id}","created_at":"2015-06-14T16:53:43Z","updated_at":"2015-06-15T18:15:57Z","pushed_at":"2015-06-26T21:06:45Z","git_url":"git://github.com/duytsev/flashcards.git","ssh_url":"git@github.com:duytsev/flashcards.git","clone_url":"https://github.com/duytsev/flashcards.git","svn_url":"https://github.com/duytsev/flashcards","homepage":null,"size":632,"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/duytsev/flashcards/pulls/5"},"html":{"href":"https://github.com/duytsev/flashcards/pull/5"},"issue":{"href":"https://api.github.com/repos/duytsev/flashcards/issues/5"},"comments":{"href":"https://api.github.com/repos/duytsev/flashcards/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/duytsev/flashcards/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/duytsev/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duytsev/flashcards/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/duytsev/flashcards/statuses/0637b2280bca19c76687f265fa3b24349e1920bd"}}}}