{"action":"created","comment":{"url":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments/34398288","id":34398288,"diff_hunk":"@@ -1,7 +1,8 @@\n+# -*- encoding : utf-8 -*-\n class Card < ActiveRecord::Base\n-  validate :original_not_equal_translated\n-  validates :review_date, presence: true\n-  validates :original_text, :translated_text, presence: true, length: { minimum: 2 }, format: { with: /\\A[A-Z]+[a-z]+\\z/, message: \"Слова только с большой буквы\" }\n+  #validate :original_not_equal_translated\n+  #validates :review_date, presence: true\n+  #validates :original_text, :translated_text, presence: true, length: { minimum: 2 }, format: { with: /\\A[A-ZА-Я]+[a-zа-я]+\\z/, message: \"Слова только с большой буквы\" }","path":"app/models/card.rb","position":8,"original_position":8,"commit_id":"52adc3bf309c442bbeb26205ec14e3f117dc9ff0","original_commit_id":"52adc3bf309c442bbeb26205ec14e3f117dc9ff0","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [170/80]<br>Missing space after #.","created_at":"2015-07-10T21:32:16Z","updated_at":"2015-07-10T21:32:16Z","html_url":"https://github.com/Hunk13/flashcards/pull/4#discussion_r34398288","pull_request_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments/34398288"},"html":{"href":"https://github.com/Hunk13/flashcards/pull/4#discussion_r34398288"},"pull_request":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Hunk13/flashcards/pulls/4","id":39726542,"html_url":"https://github.com/Hunk13/flashcards/pull/4","diff_url":"https://github.com/Hunk13/flashcards/pull/4.diff","patch_url":"https://github.com/Hunk13/flashcards/pull/4.patch","issue_url":"https://api.github.com/repos/Hunk13/flashcards/issues/4","number":4,"state":"open","locked":false,"title":"fourth lesson","user":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-10T21:32:08Z","updated_at":"2015-07-10T21:32:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fee6edadb0d1c77c3bd54868c402d1749675428c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hunk13/flashcards/issues/4/comments","statuses_url":"https://api.github.com/repos/Hunk13/flashcards/statuses/52adc3bf309c442bbeb26205ec14e3f117dc9ff0","head":{"label":"Hunk13:fourth-lesson","ref":"fourth-lesson","sha":"52adc3bf309c442bbeb26205ec14e3f117dc9ff0","user":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"repo":{"id":38364862,"name":"flashcards","full_name":"Hunk13/flashcards","owner":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hunk13/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Hunk13/flashcards","forks_url":"https://api.github.com/repos/Hunk13/flashcards/forks","keys_url":"https://api.github.com/repos/Hunk13/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hunk13/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hunk13/flashcards/teams","hooks_url":"https://api.github.com/repos/Hunk13/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Hunk13/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Hunk13/flashcards/events","assignees_url":"https://api.github.com/repos/Hunk13/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Hunk13/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Hunk13/flashcards/tags","blobs_url":"https://api.github.com/repos/Hunk13/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hunk13/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hunk13/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hunk13/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hunk13/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Hunk13/flashcards/languages","stargazers_url":"https://api.github.com/repos/Hunk13/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Hunk13/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Hunk13/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Hunk13/flashcards/subscription","commits_url":"https://api.github.com/repos/Hunk13/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hunk13/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hunk13/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hunk13/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hunk13/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Hunk13/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hunk13/flashcards/merges","archive_url":"https://api.github.com/repos/Hunk13/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hunk13/flashcards/downloads","issues_url":"https://api.github.com/repos/Hunk13/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Hunk13/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Hunk13/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Hunk13/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hunk13/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Hunk13/flashcards/releases{/id}","created_at":"2015-07-01T10:22:56Z","updated_at":"2015-07-01T10:41:09Z","pushed_at":"2015-07-10T21:32:08Z","git_url":"git://github.com/Hunk13/flashcards.git","ssh_url":"git@github.com:Hunk13/flashcards.git","clone_url":"https://github.com/Hunk13/flashcards.git","svn_url":"https://github.com/Hunk13/flashcards","homepage":null,"size":368,"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":"Hunk13:master","ref":"master","sha":"25ff156a2e409ee47031f64e79ccfc73d062c3a9","user":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"repo":{"id":38364862,"name":"flashcards","full_name":"Hunk13/flashcards","owner":{"login":"Hunk13","id":2353427,"avatar_url":"https://avatars.githubusercontent.com/u/2353427?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunk13","html_url":"https://github.com/Hunk13","followers_url":"https://api.github.com/users/Hunk13/followers","following_url":"https://api.github.com/users/Hunk13/following{/other_user}","gists_url":"https://api.github.com/users/Hunk13/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunk13/subscriptions","organizations_url":"https://api.github.com/users/Hunk13/orgs","repos_url":"https://api.github.com/users/Hunk13/repos","events_url":"https://api.github.com/users/Hunk13/events{/privacy}","received_events_url":"https://api.github.com/users/Hunk13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hunk13/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Hunk13/flashcards","forks_url":"https://api.github.com/repos/Hunk13/flashcards/forks","keys_url":"https://api.github.com/repos/Hunk13/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hunk13/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hunk13/flashcards/teams","hooks_url":"https://api.github.com/repos/Hunk13/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Hunk13/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Hunk13/flashcards/events","assignees_url":"https://api.github.com/repos/Hunk13/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Hunk13/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Hunk13/flashcards/tags","blobs_url":"https://api.github.com/repos/Hunk13/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hunk13/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hunk13/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hunk13/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hunk13/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Hunk13/flashcards/languages","stargazers_url":"https://api.github.com/repos/Hunk13/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Hunk13/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Hunk13/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Hunk13/flashcards/subscription","commits_url":"https://api.github.com/repos/Hunk13/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hunk13/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hunk13/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hunk13/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hunk13/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Hunk13/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hunk13/flashcards/merges","archive_url":"https://api.github.com/repos/Hunk13/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hunk13/flashcards/downloads","issues_url":"https://api.github.com/repos/Hunk13/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Hunk13/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Hunk13/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Hunk13/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hunk13/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Hunk13/flashcards/releases{/id}","created_at":"2015-07-01T10:22:56Z","updated_at":"2015-07-01T10:41:09Z","pushed_at":"2015-07-10T21:32:08Z","git_url":"git://github.com/Hunk13/flashcards.git","ssh_url":"git@github.com:Hunk13/flashcards.git","clone_url":"https://github.com/Hunk13/flashcards.git","svn_url":"https://github.com/Hunk13/flashcards","homepage":null,"size":368,"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/Hunk13/flashcards/pulls/4"},"html":{"href":"https://github.com/Hunk13/flashcards/pull/4"},"issue":{"href":"https://api.github.com/repos/Hunk13/flashcards/issues/4"},"comments":{"href":"https://api.github.com/repos/Hunk13/flashcards/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hunk13/flashcards/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Hunk13/flashcards/statuses/52adc3bf309c442bbeb26205ec14e3f117dc9ff0"}}}}