{"action":"created","comment":{"url":"https://api.github.com/repos/esaulkov/flashcards/pulls/comments/36267296","id":36267296,"diff_hunk":"@@ -1,10 +1,13 @@\n class Card < ActiveRecord::Base\n   belongs_to :user\n+  has_attached_file :image, ","path":"app/models/card.rb","position":3,"original_position":3,"commit_id":"fe71066b9014abbe36cd3b86083fa41fbc9fbc32","original_commit_id":"fe71066b9014abbe36cd3b86083fa41fbc9fbc32","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":"Trailing whitespace detected.","created_at":"2015-08-05T03:35:00Z","updated_at":"2015-08-05T03:35:00Z","html_url":"https://github.com/esaulkov/flashcards/pull/10#discussion_r36267296","pull_request_url":"https://api.github.com/repos/esaulkov/flashcards/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/esaulkov/flashcards/pulls/comments/36267296"},"html":{"href":"https://github.com/esaulkov/flashcards/pull/10#discussion_r36267296"},"pull_request":{"href":"https://api.github.com/repos/esaulkov/flashcards/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/esaulkov/flashcards/pulls/10","id":41448591,"html_url":"https://github.com/esaulkov/flashcards/pull/10","diff_url":"https://github.com/esaulkov/flashcards/pull/10.diff","patch_url":"https://github.com/esaulkov/flashcards/pull/10.patch","issue_url":"https://api.github.com/repos/esaulkov/flashcards/issues/10","number":10,"state":"open","locked":false,"title":"Add image upload for cards through Paperclip and S3","user":{"login":"esaulkov","id":10377403,"avatar_url":"https://avatars.githubusercontent.com/u/10377403?v=3","gravatar_id":"","url":"https://api.github.com/users/esaulkov","html_url":"https://github.com/esaulkov","followers_url":"https://api.github.com/users/esaulkov/followers","following_url":"https://api.github.com/users/esaulkov/following{/other_user}","gists_url":"https://api.github.com/users/esaulkov/gists{/gist_id}","starred_url":"https://api.github.com/users/esaulkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaulkov/subscriptions","organizations_url":"https://api.github.com/users/esaulkov/orgs","repos_url":"https://api.github.com/users/esaulkov/repos","events_url":"https://api.github.com/users/esaulkov/events{/privacy}","received_events_url":"https://api.github.com/users/esaulkov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-03T09:23:17Z","updated_at":"2015-08-05T03:35:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cefaeb5463ca82f5cf12087aabdf96c2d38d042","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/esaulkov/flashcards/pulls/10/commits","review_comments_url":"https://api.github.com/repos/esaulkov/flashcards/pulls/10/comments","review_comment_url":"https://api.github.com/repos/esaulkov/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esaulkov/flashcards/issues/10/comments","statuses_url":"https://api.github.com/repos/esaulkov/flashcards/statuses/fe71066b9014abbe36cd3b86083fa41fbc9fbc32","head":{"label":"esaulkov:tenth-task","ref":"tenth-task","sha":"fe71066b9014abbe36cd3b86083fa41fbc9fbc32","user":{"login":"esaulkov","id":10377403,"avatar_url":"https://avatars.githubusercontent.com/u/10377403?v=3","gravatar_id":"","url":"https://api.github.com/users/esaulkov","html_url":"https://github.com/esaulkov","followers_url":"https://api.github.com/users/esaulkov/followers","following_url":"https://api.github.com/users/esaulkov/following{/other_user}","gists_url":"https://api.github.com/users/esaulkov/gists{/gist_id}","starred_url":"https://api.github.com/users/esaulkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaulkov/subscriptions","organizations_url":"https://api.github.com/users/esaulkov/orgs","repos_url":"https://api.github.com/users/esaulkov/repos","events_url":"https://api.github.com/users/esaulkov/events{/privacy}","received_events_url":"https://api.github.com/users/esaulkov/received_events","type":"User","site_admin":false},"repo":{"id":39287813,"name":"flashcards","full_name":"esaulkov/flashcards","owner":{"login":"esaulkov","id":10377403,"avatar_url":"https://avatars.githubusercontent.com/u/10377403?v=3","gravatar_id":"","url":"https://api.github.com/users/esaulkov","html_url":"https://github.com/esaulkov","followers_url":"https://api.github.com/users/esaulkov/followers","following_url":"https://api.github.com/users/esaulkov/following{/other_user}","gists_url":"https://api.github.com/users/esaulkov/gists{/gist_id}","starred_url":"https://api.github.com/users/esaulkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaulkov/subscriptions","organizations_url":"https://api.github.com/users/esaulkov/orgs","repos_url":"https://api.github.com/users/esaulkov/repos","events_url":"https://api.github.com/users/esaulkov/events{/privacy}","received_events_url":"https://api.github.com/users/esaulkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esaulkov/flashcards","description":"Training project (Ruby on Rails)","fork":false,"url":"https://api.github.com/repos/esaulkov/flashcards","forks_url":"https://api.github.com/repos/esaulkov/flashcards/forks","keys_url":"https://api.github.com/repos/esaulkov/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esaulkov/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esaulkov/flashcards/teams","hooks_url":"https://api.github.com/repos/esaulkov/flashcards/hooks","issue_events_url":"https://api.github.com/repos/esaulkov/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/esaulkov/flashcards/events","assignees_url":"https://api.github.com/repos/esaulkov/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/esaulkov/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/esaulkov/flashcards/tags","blobs_url":"https://api.github.com/repos/esaulkov/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esaulkov/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esaulkov/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/esaulkov/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esaulkov/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/esaulkov/flashcards/languages","stargazers_url":"https://api.github.com/repos/esaulkov/flashcards/stargazers","contributors_url":"https://api.github.com/repos/esaulkov/flashcards/contributors","subscribers_url":"https://api.github.com/repos/esaulkov/flashcards/subscribers","subscription_url":"https://api.github.com/repos/esaulkov/flashcards/subscription","commits_url":"https://api.github.com/repos/esaulkov/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/esaulkov/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/esaulkov/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/esaulkov/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/esaulkov/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/esaulkov/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esaulkov/flashcards/merges","archive_url":"https://api.github.com/repos/esaulkov/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esaulkov/flashcards/downloads","issues_url":"https://api.github.com/repos/esaulkov/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/esaulkov/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/esaulkov/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/esaulkov/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esaulkov/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/esaulkov/flashcards/releases{/id}","created_at":"2015-07-18T05:28:51Z","updated_at":"2015-08-01T01:25:57Z","pushed_at":"2015-08-05T03:34:57Z","git_url":"git://github.com/esaulkov/flashcards.git","ssh_url":"git@github.com:esaulkov/flashcards.git","clone_url":"https://github.com/esaulkov/flashcards.git","svn_url":"https://github.com/esaulkov/flashcards","homepage":"","size":592,"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":"esaulkov:master","ref":"master","sha":"83bb43e0e70b9ebd6c0473c158970cd2ffb3af53","user":{"login":"esaulkov","id":10377403,"avatar_url":"https://avatars.githubusercontent.com/u/10377403?v=3","gravatar_id":"","url":"https://api.github.com/users/esaulkov","html_url":"https://github.com/esaulkov","followers_url":"https://api.github.com/users/esaulkov/followers","following_url":"https://api.github.com/users/esaulkov/following{/other_user}","gists_url":"https://api.github.com/users/esaulkov/gists{/gist_id}","starred_url":"https://api.github.com/users/esaulkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaulkov/subscriptions","organizations_url":"https://api.github.com/users/esaulkov/orgs","repos_url":"https://api.github.com/users/esaulkov/repos","events_url":"https://api.github.com/users/esaulkov/events{/privacy}","received_events_url":"https://api.github.com/users/esaulkov/received_events","type":"User","site_admin":false},"repo":{"id":39287813,"name":"flashcards","full_name":"esaulkov/flashcards","owner":{"login":"esaulkov","id":10377403,"avatar_url":"https://avatars.githubusercontent.com/u/10377403?v=3","gravatar_id":"","url":"https://api.github.com/users/esaulkov","html_url":"https://github.com/esaulkov","followers_url":"https://api.github.com/users/esaulkov/followers","following_url":"https://api.github.com/users/esaulkov/following{/other_user}","gists_url":"https://api.github.com/users/esaulkov/gists{/gist_id}","starred_url":"https://api.github.com/users/esaulkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaulkov/subscriptions","organizations_url":"https://api.github.com/users/esaulkov/orgs","repos_url":"https://api.github.com/users/esaulkov/repos","events_url":"https://api.github.com/users/esaulkov/events{/privacy}","received_events_url":"https://api.github.com/users/esaulkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esaulkov/flashcards","description":"Training project (Ruby on Rails)","fork":false,"url":"https://api.github.com/repos/esaulkov/flashcards","forks_url":"https://api.github.com/repos/esaulkov/flashcards/forks","keys_url":"https://api.github.com/repos/esaulkov/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esaulkov/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esaulkov/flashcards/teams","hooks_url":"https://api.github.com/repos/esaulkov/flashcards/hooks","issue_events_url":"https://api.github.com/repos/esaulkov/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/esaulkov/flashcards/events","assignees_url":"https://api.github.com/repos/esaulkov/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/esaulkov/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/esaulkov/flashcards/tags","blobs_url":"https://api.github.com/repos/esaulkov/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esaulkov/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esaulkov/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/esaulkov/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esaulkov/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/esaulkov/flashcards/languages","stargazers_url":"https://api.github.com/repos/esaulkov/flashcards/stargazers","contributors_url":"https://api.github.com/repos/esaulkov/flashcards/contributors","subscribers_url":"https://api.github.com/repos/esaulkov/flashcards/subscribers","subscription_url":"https://api.github.com/repos/esaulkov/flashcards/subscription","commits_url":"https://api.github.com/repos/esaulkov/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/esaulkov/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/esaulkov/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/esaulkov/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/esaulkov/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/esaulkov/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esaulkov/flashcards/merges","archive_url":"https://api.github.com/repos/esaulkov/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esaulkov/flashcards/downloads","issues_url":"https://api.github.com/repos/esaulkov/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/esaulkov/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/esaulkov/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/esaulkov/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esaulkov/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/esaulkov/flashcards/releases{/id}","created_at":"2015-07-18T05:28:51Z","updated_at":"2015-08-01T01:25:57Z","pushed_at":"2015-08-05T03:34:57Z","git_url":"git://github.com/esaulkov/flashcards.git","ssh_url":"git@github.com:esaulkov/flashcards.git","clone_url":"https://github.com/esaulkov/flashcards.git","svn_url":"https://github.com/esaulkov/flashcards","homepage":"","size":592,"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/esaulkov/flashcards/pulls/10"},"html":{"href":"https://github.com/esaulkov/flashcards/pull/10"},"issue":{"href":"https://api.github.com/repos/esaulkov/flashcards/issues/10"},"comments":{"href":"https://api.github.com/repos/esaulkov/flashcards/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/esaulkov/flashcards/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/esaulkov/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esaulkov/flashcards/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/esaulkov/flashcards/statuses/fe71066b9014abbe36cd3b86083fa41fbc9fbc32"}}}}