{"action":"created","comment":{"url":"https://api.github.com/repos/ulizko/flashcards/pulls/comments/65049284","id":65049284,"diff_hunk":"@@ -0,0 +1,27 @@\n+<h1 class=\"text-center\">Мои колоды</h1>\n+<table class=\"table table-bordered\">\n+  <tbody>\n+    <% @decks.each do |deck| %>\n+    <tr class = \"<%= deck.current ? 'info' : '' %>\">\n+      <td class=\"col-md-5\">\n+        <h4><%= deck.name %></h4>\n+      </td>\n+      <td>\n+        <%= \"#{deck.cards.count} cards\" %>\n+      </td>\n+      <td class=\"col-md-1\">\n+      <%= form_tag deck_path(deck), method: :put do %>\n+        <%= hidden_field_tag 'deck[name]', deck.name %>\n+        <%= hidden_field_tag 'deck[user_id]', deck.user_id %>\n+        <%= hidden_field_tag 'deck[current]', deck.current %>","path":"app/views/decks/index.html.erb","position":16,"original_position":16,"commit_id":"d343ccc795727e4f89178e749caa42b68b0fc7f2","original_commit_id":"d343ccc795727e4f89178e749caa42b68b0fc7f2","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":"@ulizko понимаю что тебе нужно идентифицировать карточку, но зачем все 3 поля передавать?","created_at":"2016-05-30T09:48:53Z","updated_at":"2016-05-30T09:48:53Z","html_url":"https://github.com/ulizko/flashcards/pull/11#discussion_r65049284","pull_request_url":"https://api.github.com/repos/ulizko/flashcards/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/ulizko/flashcards/pulls/comments/65049284"},"html":{"href":"https://github.com/ulizko/flashcards/pull/11#discussion_r65049284"},"pull_request":{"href":"https://api.github.com/repos/ulizko/flashcards/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/ulizko/flashcards/pulls/11","id":71877453,"html_url":"https://github.com/ulizko/flashcards/pull/11","diff_url":"https://github.com/ulizko/flashcards/pull/11.diff","patch_url":"https://github.com/ulizko/flashcards/pull/11.patch","issue_url":"https://api.github.com/repos/ulizko/flashcards/issues/11","number":11,"state":"open","locked":false,"title":"11th task","user":{"login":"ulizko","id":11588198,"avatar_url":"https://avatars.githubusercontent.com/u/11588198?v=3","gravatar_id":"","url":"https://api.github.com/users/ulizko","html_url":"https://github.com/ulizko","followers_url":"https://api.github.com/users/ulizko/followers","following_url":"https://api.github.com/users/ulizko/following{/other_user}","gists_url":"https://api.github.com/users/ulizko/gists{/gist_id}","starred_url":"https://api.github.com/users/ulizko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulizko/subscriptions","organizations_url":"https://api.github.com/users/ulizko/orgs","repos_url":"https://api.github.com/users/ulizko/repos","events_url":"https://api.github.com/users/ulizko/events{/privacy}","received_events_url":"https://api.github.com/users/ulizko/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-30T09:44:24Z","updated_at":"2016-05-30T09:48:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3060b78bb37781fbe9be60066c84cdfab86b5b85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ulizko/flashcards/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ulizko/flashcards/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ulizko/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ulizko/flashcards/issues/11/comments","statuses_url":"https://api.github.com/repos/ulizko/flashcards/statuses/d343ccc795727e4f89178e749caa42b68b0fc7f2","head":{"label":"ulizko:11th-task","ref":"11th-task","sha":"d343ccc795727e4f89178e749caa42b68b0fc7f2","user":{"login":"ulizko","id":11588198,"avatar_url":"https://avatars.githubusercontent.com/u/11588198?v=3","gravatar_id":"","url":"https://api.github.com/users/ulizko","html_url":"https://github.com/ulizko","followers_url":"https://api.github.com/users/ulizko/followers","following_url":"https://api.github.com/users/ulizko/following{/other_user}","gists_url":"https://api.github.com/users/ulizko/gists{/gist_id}","starred_url":"https://api.github.com/users/ulizko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulizko/subscriptions","organizations_url":"https://api.github.com/users/ulizko/orgs","repos_url":"https://api.github.com/users/ulizko/repos","events_url":"https://api.github.com/users/ulizko/events{/privacy}","received_events_url":"https://api.github.com/users/ulizko/received_events","type":"User","site_admin":false},"repo":{"id":58144438,"name":"flashcards","full_name":"ulizko/flashcards","owner":{"login":"ulizko","id":11588198,"avatar_url":"https://avatars.githubusercontent.com/u/11588198?v=3","gravatar_id":"","url":"https://api.github.com/users/ulizko","html_url":"https://github.com/ulizko","followers_url":"https://api.github.com/users/ulizko/followers","following_url":"https://api.github.com/users/ulizko/following{/other_user}","gists_url":"https://api.github.com/users/ulizko/gists{/gist_id}","starred_url":"https://api.github.com/users/ulizko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulizko/subscriptions","organizations_url":"https://api.github.com/users/ulizko/orgs","repos_url":"https://api.github.com/users/ulizko/repos","events_url":"https://api.github.com/users/ulizko/events{/privacy}","received_events_url":"https://api.github.com/users/ulizko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ulizko/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/ulizko/flashcards","forks_url":"https://api.github.com/repos/ulizko/flashcards/forks","keys_url":"https://api.github.com/repos/ulizko/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulizko/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulizko/flashcards/teams","hooks_url":"https://api.github.com/repos/ulizko/flashcards/hooks","issue_events_url":"https://api.github.com/repos/ulizko/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/ulizko/flashcards/events","assignees_url":"https://api.github.com/repos/ulizko/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/ulizko/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/ulizko/flashcards/tags","blobs_url":"https://api.github.com/repos/ulizko/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulizko/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulizko/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulizko/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulizko/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/ulizko/flashcards/languages","stargazers_url":"https://api.github.com/repos/ulizko/flashcards/stargazers","contributors_url":"https://api.github.com/repos/ulizko/flashcards/contributors","subscribers_url":"https://api.github.com/repos/ulizko/flashcards/subscribers","subscription_url":"https://api.github.com/repos/ulizko/flashcards/subscription","commits_url":"https://api.github.com/repos/ulizko/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulizko/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulizko/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulizko/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulizko/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/ulizko/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulizko/flashcards/merges","archive_url":"https://api.github.com/repos/ulizko/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulizko/flashcards/downloads","issues_url":"https://api.github.com/repos/ulizko/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/ulizko/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/ulizko/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/ulizko/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulizko/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/ulizko/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/ulizko/flashcards/deployments","created_at":"2016-05-05T16:19:27Z","updated_at":"2016-05-06T15:05:47Z","pushed_at":"2016-05-30T09:44:24Z","git_url":"git://github.com/ulizko/flashcards.git","ssh_url":"git@github.com:ulizko/flashcards.git","clone_url":"https://github.com/ulizko/flashcards.git","svn_url":"https://github.com/ulizko/flashcards","homepage":null,"size":366,"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":"ulizko:master","ref":"master","sha":"5e58705ce4d736c3521439471a295d70d7003085","user":{"login":"ulizko","id":11588198,"avatar_url":"https://avatars.githubusercontent.com/u/11588198?v=3","gravatar_id":"","url":"https://api.github.com/users/ulizko","html_url":"https://github.com/ulizko","followers_url":"https://api.github.com/users/ulizko/followers","following_url":"https://api.github.com/users/ulizko/following{/other_user}","gists_url":"https://api.github.com/users/ulizko/gists{/gist_id}","starred_url":"https://api.github.com/users/ulizko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulizko/subscriptions","organizations_url":"https://api.github.com/users/ulizko/orgs","repos_url":"https://api.github.com/users/ulizko/repos","events_url":"https://api.github.com/users/ulizko/events{/privacy}","received_events_url":"https://api.github.com/users/ulizko/received_events","type":"User","site_admin":false},"repo":{"id":58144438,"name":"flashcards","full_name":"ulizko/flashcards","owner":{"login":"ulizko","id":11588198,"avatar_url":"https://avatars.githubusercontent.com/u/11588198?v=3","gravatar_id":"","url":"https://api.github.com/users/ulizko","html_url":"https://github.com/ulizko","followers_url":"https://api.github.com/users/ulizko/followers","following_url":"https://api.github.com/users/ulizko/following{/other_user}","gists_url":"https://api.github.com/users/ulizko/gists{/gist_id}","starred_url":"https://api.github.com/users/ulizko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulizko/subscriptions","organizations_url":"https://api.github.com/users/ulizko/orgs","repos_url":"https://api.github.com/users/ulizko/repos","events_url":"https://api.github.com/users/ulizko/events{/privacy}","received_events_url":"https://api.github.com/users/ulizko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ulizko/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/ulizko/flashcards","forks_url":"https://api.github.com/repos/ulizko/flashcards/forks","keys_url":"https://api.github.com/repos/ulizko/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulizko/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulizko/flashcards/teams","hooks_url":"https://api.github.com/repos/ulizko/flashcards/hooks","issue_events_url":"https://api.github.com/repos/ulizko/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/ulizko/flashcards/events","assignees_url":"https://api.github.com/repos/ulizko/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/ulizko/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/ulizko/flashcards/tags","blobs_url":"https://api.github.com/repos/ulizko/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulizko/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulizko/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulizko/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulizko/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/ulizko/flashcards/languages","stargazers_url":"https://api.github.com/repos/ulizko/flashcards/stargazers","contributors_url":"https://api.github.com/repos/ulizko/flashcards/contributors","subscribers_url":"https://api.github.com/repos/ulizko/flashcards/subscribers","subscription_url":"https://api.github.com/repos/ulizko/flashcards/subscription","commits_url":"https://api.github.com/repos/ulizko/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulizko/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulizko/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulizko/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulizko/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/ulizko/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulizko/flashcards/merges","archive_url":"https://api.github.com/repos/ulizko/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulizko/flashcards/downloads","issues_url":"https://api.github.com/repos/ulizko/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/ulizko/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/ulizko/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/ulizko/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulizko/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/ulizko/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/ulizko/flashcards/deployments","created_at":"2016-05-05T16:19:27Z","updated_at":"2016-05-06T15:05:47Z","pushed_at":"2016-05-30T09:44:24Z","git_url":"git://github.com/ulizko/flashcards.git","ssh_url":"git@github.com:ulizko/flashcards.git","clone_url":"https://github.com/ulizko/flashcards.git","svn_url":"https://github.com/ulizko/flashcards","homepage":null,"size":366,"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/ulizko/flashcards/pulls/11"},"html":{"href":"https://github.com/ulizko/flashcards/pull/11"},"issue":{"href":"https://api.github.com/repos/ulizko/flashcards/issues/11"},"comments":{"href":"https://api.github.com/repos/ulizko/flashcards/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ulizko/flashcards/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ulizko/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ulizko/flashcards/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ulizko/flashcards/statuses/d343ccc795727e4f89178e749caa42b68b0fc7f2"}}}}
{"actor":{"display_login":"davetoxa"}}