{"action":"created","comment":{"url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments/28922502","id":28922502,"diff_hunk":"@@ -0,0 +1,41 @@\n+ActiveAdmin.register Card do\n+  index do\n+    selectable_column\n+    column :id\n+    column :user\n+    column :original_text\n+    column :translated_text\n+    column :review_date\n+    actions\n+  end\n+\n+  show do\n+    attributes_table do\n+      row :id\n+      row :user\n+      row :block\n+      row :original_text\n+      row :translated_text\n+      row :review_date\n+      row :image\n+    end\n+    active_admin_comments\n+  end\n+\n+  form do |f|\n+    inputs do\n+      input :user\n+      input :block\n+      input :original_text, as: :string\n+      input :translated_text, as: :string\n+      input :review_date\n+      input :image, label: 'Select image'\n+      input :image, label: 'Image url', as: :string","path":"app/admin/card.rb","position":33,"original_position":33,"commit_id":"db1700601c43bda75b55da160daec749d9eccabf","original_commit_id":"db1700601c43bda75b55da160daec749d9eccabf","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-04-22T22:50:33Z","updated_at":"2015-04-22T22:50:33Z","html_url":"https://github.com/elavretskiy/flashcards/pull/28#discussion_r28922502","pull_request_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments/28922502"},"html":{"href":"https://github.com/elavretskiy/flashcards/pull/28#discussion_r28922502"},"pull_request":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/28","id":33843363,"html_url":"https://github.com/elavretskiy/flashcards/pull/28","diff_url":"https://github.com/elavretskiy/flashcards/pull/28.diff","patch_url":"https://github.com/elavretskiy/flashcards/pull/28.patch","issue_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/28","number":28,"state":"open","locked":false,"title":"Active admin, Cancancan, Rolify","user":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-22T10:04:17Z","updated_at":"2015-04-22T22:50:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5364d54df1ae1b0d4b415e6acb91f5df824b913","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/28/commits","review_comments_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/28/comments","review_comment_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/28/comments","statuses_url":"https://api.github.com/repos/elavretskiy/flashcards/statuses/db1700601c43bda75b55da160daec749d9eccabf","head":{"label":"elavretskiy:active_admin-cancancan-rolify","ref":"active_admin-cancancan-rolify","sha":"db1700601c43bda75b55da160daec749d9eccabf","user":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"repo":{"id":32740872,"name":"flashcards","full_name":"elavretskiy/flashcards","owner":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elavretskiy/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/elavretskiy/flashcards","forks_url":"https://api.github.com/repos/elavretskiy/flashcards/forks","keys_url":"https://api.github.com/repos/elavretskiy/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elavretskiy/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elavretskiy/flashcards/teams","hooks_url":"https://api.github.com/repos/elavretskiy/flashcards/hooks","issue_events_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/elavretskiy/flashcards/events","assignees_url":"https://api.github.com/repos/elavretskiy/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/elavretskiy/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/elavretskiy/flashcards/tags","blobs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elavretskiy/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/elavretskiy/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elavretskiy/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/elavretskiy/flashcards/languages","stargazers_url":"https://api.github.com/repos/elavretskiy/flashcards/stargazers","contributors_url":"https://api.github.com/repos/elavretskiy/flashcards/contributors","subscribers_url":"https://api.github.com/repos/elavretskiy/flashcards/subscribers","subscription_url":"https://api.github.com/repos/elavretskiy/flashcards/subscription","commits_url":"https://api.github.com/repos/elavretskiy/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/elavretskiy/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/elavretskiy/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/elavretskiy/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/elavretskiy/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elavretskiy/flashcards/merges","archive_url":"https://api.github.com/repos/elavretskiy/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elavretskiy/flashcards/downloads","issues_url":"https://api.github.com/repos/elavretskiy/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/elavretskiy/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/elavretskiy/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elavretskiy/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/elavretskiy/flashcards/releases{/id}","created_at":"2015-03-23T15:28:49Z","updated_at":"2015-04-22T09:56:50Z","pushed_at":"2015-04-22T22:50:28Z","git_url":"git://github.com/elavretskiy/flashcards.git","ssh_url":"git@github.com:elavretskiy/flashcards.git","clone_url":"https://github.com/elavretskiy/flashcards.git","svn_url":"https://github.com/elavretskiy/flashcards","homepage":null,"size":1208,"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":"elavretskiy:master","ref":"master","sha":"7e3a48965a0c45094d762d780d2c2d396b275a12","user":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"repo":{"id":32740872,"name":"flashcards","full_name":"elavretskiy/flashcards","owner":{"login":"elavretskiy","id":10075473,"avatar_url":"https://avatars.githubusercontent.com/u/10075473?v=3","gravatar_id":"","url":"https://api.github.com/users/elavretskiy","html_url":"https://github.com/elavretskiy","followers_url":"https://api.github.com/users/elavretskiy/followers","following_url":"https://api.github.com/users/elavretskiy/following{/other_user}","gists_url":"https://api.github.com/users/elavretskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/elavretskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elavretskiy/subscriptions","organizations_url":"https://api.github.com/users/elavretskiy/orgs","repos_url":"https://api.github.com/users/elavretskiy/repos","events_url":"https://api.github.com/users/elavretskiy/events{/privacy}","received_events_url":"https://api.github.com/users/elavretskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elavretskiy/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/elavretskiy/flashcards","forks_url":"https://api.github.com/repos/elavretskiy/flashcards/forks","keys_url":"https://api.github.com/repos/elavretskiy/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elavretskiy/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elavretskiy/flashcards/teams","hooks_url":"https://api.github.com/repos/elavretskiy/flashcards/hooks","issue_events_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/elavretskiy/flashcards/events","assignees_url":"https://api.github.com/repos/elavretskiy/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/elavretskiy/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/elavretskiy/flashcards/tags","blobs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elavretskiy/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elavretskiy/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/elavretskiy/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elavretskiy/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/elavretskiy/flashcards/languages","stargazers_url":"https://api.github.com/repos/elavretskiy/flashcards/stargazers","contributors_url":"https://api.github.com/repos/elavretskiy/flashcards/contributors","subscribers_url":"https://api.github.com/repos/elavretskiy/flashcards/subscribers","subscription_url":"https://api.github.com/repos/elavretskiy/flashcards/subscription","commits_url":"https://api.github.com/repos/elavretskiy/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/elavretskiy/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/elavretskiy/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/elavretskiy/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/elavretskiy/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/elavretskiy/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elavretskiy/flashcards/merges","archive_url":"https://api.github.com/repos/elavretskiy/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elavretskiy/flashcards/downloads","issues_url":"https://api.github.com/repos/elavretskiy/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/elavretskiy/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/elavretskiy/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/elavretskiy/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elavretskiy/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/elavretskiy/flashcards/releases{/id}","created_at":"2015-03-23T15:28:49Z","updated_at":"2015-04-22T09:56:50Z","pushed_at":"2015-04-22T22:50:28Z","git_url":"git://github.com/elavretskiy/flashcards.git","ssh_url":"git@github.com:elavretskiy/flashcards.git","clone_url":"https://github.com/elavretskiy/flashcards.git","svn_url":"https://github.com/elavretskiy/flashcards","homepage":null,"size":1208,"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/elavretskiy/flashcards/pulls/28"},"html":{"href":"https://github.com/elavretskiy/flashcards/pull/28"},"issue":{"href":"https://api.github.com/repos/elavretskiy/flashcards/issues/28"},"comments":{"href":"https://api.github.com/repos/elavretskiy/flashcards/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elavretskiy/flashcards/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/elavretskiy/flashcards/statuses/db1700601c43bda75b55da160daec749d9eccabf"}}}}