{"action":"created","comment":{"url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/comments/48323583","id":48323583,"diff_hunk":"@@ -1,7 +1,7 @@\n class CardsController < ApplicationController\n-  \n+    \n   def index\n-    @cards = Card.all\n+    @cards = current_user.cards.all","path":"app/controllers/cards_controller.rb","position":6,"original_position":6,"commit_id":"8d3b52849cd434da8e9353eb2c5f9da217671024","original_commit_id":"8d3b52849cd434da8e9353eb2c5f9da217671024","user":{"login":"davetoxa","id":417317,"avatar_url":"https://avatars.githubusercontent.com/u/417317?v=3","gravatar_id":"","url":"https://api.github.com/users/davetoxa","html_url":"https://github.com/davetoxa","followers_url":"https://api.github.com/users/davetoxa/followers","following_url":"https://api.github.com/users/davetoxa/following{/other_user}","gists_url":"https://api.github.com/users/davetoxa/gists{/gist_id}","starred_url":"https://api.github.com/users/davetoxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davetoxa/subscriptions","organizations_url":"https://api.github.com/users/davetoxa/orgs","repos_url":"https://api.github.com/users/davetoxa/repos","events_url":"https://api.github.com/users/davetoxa/events{/privacy}","received_events_url":"https://api.github.com/users/davetoxa/received_events","type":"User","site_admin":false},"body":"Можно без all","created_at":"2015-12-23T06:06:07Z","updated_at":"2015-12-23T06:06:07Z","html_url":"https://github.com/ZhmAA/mkdevfcmgr/pull/9#discussion_r48323583","pull_request_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/comments/48323583"},"html":{"href":"https://github.com/ZhmAA/mkdevfcmgr/pull/9#discussion_r48323583"},"pull_request":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/9","id":52791879,"html_url":"https://github.com/ZhmAA/mkdevfcmgr/pull/9","diff_url":"https://github.com/ZhmAA/mkdevfcmgr/pull/9.diff","patch_url":"https://github.com/ZhmAA/mkdevfcmgr/pull/9.patch","issue_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/9","number":9,"state":"open","locked":false,"title":"ninth task first commit","user":{"login":"ZhmAA","id":6338715,"avatar_url":"https://avatars.githubusercontent.com/u/6338715?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhmAA","html_url":"https://github.com/ZhmAA","followers_url":"https://api.github.com/users/ZhmAA/followers","following_url":"https://api.github.com/users/ZhmAA/following{/other_user}","gists_url":"https://api.github.com/users/ZhmAA/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhmAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhmAA/subscriptions","organizations_url":"https://api.github.com/users/ZhmAA/orgs","repos_url":"https://api.github.com/users/ZhmAA/repos","events_url":"https://api.github.com/users/ZhmAA/events{/privacy}","received_events_url":"https://api.github.com/users/ZhmAA/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-06T22:04:43Z","updated_at":"2015-12-23T06:06:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1802c75dce86ce4fead61f42438fd956dc5261b4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/9/commits","review_comments_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/9/comments","review_comment_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/9/comments","statuses_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/statuses/8d3b52849cd434da8e9353eb2c5f9da217671024","head":{"label":"ZhmAA:ninth-task","ref":"ninth-task","sha":"8d3b52849cd434da8e9353eb2c5f9da217671024","user":{"login":"ZhmAA","id":6338715,"avatar_url":"https://avatars.githubusercontent.com/u/6338715?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhmAA","html_url":"https://github.com/ZhmAA","followers_url":"https://api.github.com/users/ZhmAA/followers","following_url":"https://api.github.com/users/ZhmAA/following{/other_user}","gists_url":"https://api.github.com/users/ZhmAA/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhmAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhmAA/subscriptions","organizations_url":"https://api.github.com/users/ZhmAA/orgs","repos_url":"https://api.github.com/users/ZhmAA/repos","events_url":"https://api.github.com/users/ZhmAA/events{/privacy}","received_events_url":"https://api.github.com/users/ZhmAA/received_events","type":"User","site_admin":false},"repo":{"id":46144534,"name":"mkdevfcmgr","full_name":"ZhmAA/mkdevfcmgr","owner":{"login":"ZhmAA","id":6338715,"avatar_url":"https://avatars.githubusercontent.com/u/6338715?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhmAA","html_url":"https://github.com/ZhmAA","followers_url":"https://api.github.com/users/ZhmAA/followers","following_url":"https://api.github.com/users/ZhmAA/following{/other_user}","gists_url":"https://api.github.com/users/ZhmAA/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhmAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhmAA/subscriptions","organizations_url":"https://api.github.com/users/ZhmAA/orgs","repos_url":"https://api.github.com/users/ZhmAA/repos","events_url":"https://api.github.com/users/ZhmAA/events{/privacy}","received_events_url":"https://api.github.com/users/ZhmAA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZhmAA/mkdevfcmgr","description":"flash card manager","fork":false,"url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr","forks_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/forks","keys_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/teams","hooks_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/hooks","issue_events_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/events{/number}","events_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/events","assignees_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/assignees{/user}","branches_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/branches{/branch}","tags_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/tags","blobs_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/statuses/{sha}","languages_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/languages","stargazers_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/stargazers","contributors_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/contributors","subscribers_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/subscribers","subscription_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/subscription","commits_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/contents/{+path}","compare_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/merges","archive_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/downloads","issues_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues{/number}","pulls_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls{/number}","milestones_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/milestones{/number}","notifications_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/labels{/name}","releases_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/releases{/id}","created_at":"2015-11-13T20:07:02Z","updated_at":"2015-11-13T21:28:18Z","pushed_at":"2015-12-22T20:40:55Z","git_url":"git://github.com/ZhmAA/mkdevfcmgr.git","ssh_url":"git@github.com:ZhmAA/mkdevfcmgr.git","clone_url":"https://github.com/ZhmAA/mkdevfcmgr.git","svn_url":"https://github.com/ZhmAA/mkdevfcmgr","homepage":null,"size":77,"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":"ZhmAA:master","ref":"master","sha":"ccdcd925e97e04e122947d50a188822afcc71f0f","user":{"login":"ZhmAA","id":6338715,"avatar_url":"https://avatars.githubusercontent.com/u/6338715?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhmAA","html_url":"https://github.com/ZhmAA","followers_url":"https://api.github.com/users/ZhmAA/followers","following_url":"https://api.github.com/users/ZhmAA/following{/other_user}","gists_url":"https://api.github.com/users/ZhmAA/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhmAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhmAA/subscriptions","organizations_url":"https://api.github.com/users/ZhmAA/orgs","repos_url":"https://api.github.com/users/ZhmAA/repos","events_url":"https://api.github.com/users/ZhmAA/events{/privacy}","received_events_url":"https://api.github.com/users/ZhmAA/received_events","type":"User","site_admin":false},"repo":{"id":46144534,"name":"mkdevfcmgr","full_name":"ZhmAA/mkdevfcmgr","owner":{"login":"ZhmAA","id":6338715,"avatar_url":"https://avatars.githubusercontent.com/u/6338715?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhmAA","html_url":"https://github.com/ZhmAA","followers_url":"https://api.github.com/users/ZhmAA/followers","following_url":"https://api.github.com/users/ZhmAA/following{/other_user}","gists_url":"https://api.github.com/users/ZhmAA/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhmAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhmAA/subscriptions","organizations_url":"https://api.github.com/users/ZhmAA/orgs","repos_url":"https://api.github.com/users/ZhmAA/repos","events_url":"https://api.github.com/users/ZhmAA/events{/privacy}","received_events_url":"https://api.github.com/users/ZhmAA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZhmAA/mkdevfcmgr","description":"flash card manager","fork":false,"url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr","forks_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/forks","keys_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/teams","hooks_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/hooks","issue_events_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/events{/number}","events_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/events","assignees_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/assignees{/user}","branches_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/branches{/branch}","tags_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/tags","blobs_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/statuses/{sha}","languages_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/languages","stargazers_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/stargazers","contributors_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/contributors","subscribers_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/subscribers","subscription_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/subscription","commits_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/contents/{+path}","compare_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/merges","archive_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/downloads","issues_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues{/number}","pulls_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls{/number}","milestones_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/milestones{/number}","notifications_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/labels{/name}","releases_url":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/releases{/id}","created_at":"2015-11-13T20:07:02Z","updated_at":"2015-11-13T21:28:18Z","pushed_at":"2015-12-22T20:40:55Z","git_url":"git://github.com/ZhmAA/mkdevfcmgr.git","ssh_url":"git@github.com:ZhmAA/mkdevfcmgr.git","clone_url":"https://github.com/ZhmAA/mkdevfcmgr.git","svn_url":"https://github.com/ZhmAA/mkdevfcmgr","homepage":null,"size":77,"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/ZhmAA/mkdevfcmgr/pulls/9"},"html":{"href":"https://github.com/ZhmAA/mkdevfcmgr/pull/9"},"issue":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/9"},"comments":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/ZhmAA/mkdevfcmgr/statuses/8d3b52849cd434da8e9353eb2c5f9da217671024"}}}}