{"action":"created","comment":{"url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/24718127","id":24718127,"diff_hunk":"@@ -1,5 +1,9 @@\n class Card < ActiveRecord::Base\n   belongs_to :user\n+  has_attached_file :card_photo, styles: { medium: \"360x360\" }\n+  validates_attachment_content_type :card_photo,\n+                                    content_type: [\"image/jpg\", \"image/jpeg\",\n+\t\t\t\t                   \"image/png\", \"image/gif\"]","path":"app/models/card.rb","position":6,"original_position":6,"commit_id":"1c6f45d73f4f41115c23e73d3443248e8e3cb4ee","original_commit_id":"1c6f45d73f4f41115c23e73d3443248e8e3cb4ee","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":"Align the elements of an array literal if they span more than one line.<br>Tab detected.","created_at":"2015-02-14T23:16:01Z","updated_at":"2015-02-14T23:16:01Z","html_url":"https://github.com/NoPos/flash_card_manager/pull/11#discussion_r24718127","pull_request_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/24718127"},"html":{"href":"https://github.com/NoPos/flash_card_manager/pull/11#discussion_r24718127"},"pull_request":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/11","id":29326960,"html_url":"https://github.com/NoPos/flash_card_manager/pull/11","diff_url":"https://github.com/NoPos/flash_card_manager/pull/11.diff","patch_url":"https://github.com/NoPos/flash_card_manager/pull/11.patch","issue_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/11","number":11,"state":"open","locked":false,"title":"9.Image upload.","user":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-14T23:04:38Z","updated_at":"2015-02-14T23:16:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3444a3ab477aabd77137ee15af6f8462c5afc4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/11/commits","review_comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/11/comments","review_comment_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/{number}","comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/11/comments","statuses_url":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/1c6f45d73f4f41115c23e73d3443248e8e3cb4ee","head":{"label":"NoPos:image_upload","ref":"image_upload","sha":"1c6f45d73f4f41115c23e73d3443248e8e3cb4ee","user":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"repo":{"id":26673871,"name":"flash_card_manager","full_name":"NoPos/flash_card_manager","owner":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NoPos/flash_card_manager","description":"","fork":false,"url":"https://api.github.com/repos/NoPos/flash_card_manager","forks_url":"https://api.github.com/repos/NoPos/flash_card_manager/forks","keys_url":"https://api.github.com/repos/NoPos/flash_card_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoPos/flash_card_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoPos/flash_card_manager/teams","hooks_url":"https://api.github.com/repos/NoPos/flash_card_manager/hooks","issue_events_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/events{/number}","events_url":"https://api.github.com/repos/NoPos/flash_card_manager/events","assignees_url":"https://api.github.com/repos/NoPos/flash_card_manager/assignees{/user}","branches_url":"https://api.github.com/repos/NoPos/flash_card_manager/branches{/branch}","tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/tags","blobs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/NoPos/flash_card_manager/languages","stargazers_url":"https://api.github.com/repos/NoPos/flash_card_manager/stargazers","contributors_url":"https://api.github.com/repos/NoPos/flash_card_manager/contributors","subscribers_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscribers","subscription_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscription","commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/NoPos/flash_card_manager/contents/{+path}","compare_url":"https://api.github.com/repos/NoPos/flash_card_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoPos/flash_card_manager/merges","archive_url":"https://api.github.com/repos/NoPos/flash_card_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoPos/flash_card_manager/downloads","issues_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues{/number}","pulls_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/NoPos/flash_card_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/NoPos/flash_card_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoPos/flash_card_manager/labels{/name}","releases_url":"https://api.github.com/repos/NoPos/flash_card_manager/releases{/id}","created_at":"2014-11-15T08:19:19Z","updated_at":"2015-02-11T16:59:04Z","pushed_at":"2015-02-14T23:15:58Z","git_url":"git://github.com/NoPos/flash_card_manager.git","ssh_url":"git@github.com:NoPos/flash_card_manager.git","clone_url":"https://github.com/NoPos/flash_card_manager.git","svn_url":"https://github.com/NoPos/flash_card_manager","homepage":null,"size":1112,"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":"NoPos:master","ref":"master","sha":"ffc42c915ed161630bc5db709cd48195ed451c0a","user":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"repo":{"id":26673871,"name":"flash_card_manager","full_name":"NoPos/flash_card_manager","owner":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NoPos/flash_card_manager","description":"","fork":false,"url":"https://api.github.com/repos/NoPos/flash_card_manager","forks_url":"https://api.github.com/repos/NoPos/flash_card_manager/forks","keys_url":"https://api.github.com/repos/NoPos/flash_card_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoPos/flash_card_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoPos/flash_card_manager/teams","hooks_url":"https://api.github.com/repos/NoPos/flash_card_manager/hooks","issue_events_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/events{/number}","events_url":"https://api.github.com/repos/NoPos/flash_card_manager/events","assignees_url":"https://api.github.com/repos/NoPos/flash_card_manager/assignees{/user}","branches_url":"https://api.github.com/repos/NoPos/flash_card_manager/branches{/branch}","tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/tags","blobs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/NoPos/flash_card_manager/languages","stargazers_url":"https://api.github.com/repos/NoPos/flash_card_manager/stargazers","contributors_url":"https://api.github.com/repos/NoPos/flash_card_manager/contributors","subscribers_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscribers","subscription_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscription","commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/NoPos/flash_card_manager/contents/{+path}","compare_url":"https://api.github.com/repos/NoPos/flash_card_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoPos/flash_card_manager/merges","archive_url":"https://api.github.com/repos/NoPos/flash_card_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoPos/flash_card_manager/downloads","issues_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues{/number}","pulls_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/NoPos/flash_card_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/NoPos/flash_card_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoPos/flash_card_manager/labels{/name}","releases_url":"https://api.github.com/repos/NoPos/flash_card_manager/releases{/id}","created_at":"2014-11-15T08:19:19Z","updated_at":"2015-02-11T16:59:04Z","pushed_at":"2015-02-14T23:15:58Z","git_url":"git://github.com/NoPos/flash_card_manager.git","ssh_url":"git@github.com:NoPos/flash_card_manager.git","clone_url":"https://github.com/NoPos/flash_card_manager.git","svn_url":"https://github.com/NoPos/flash_card_manager","homepage":null,"size":1112,"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/NoPos/flash_card_manager/pulls/11"},"html":{"href":"https://github.com/NoPos/flash_card_manager/pull/11"},"issue":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/issues/11"},"comments":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/1c6f45d73f4f41115c23e73d3443248e8e3cb4ee"}}}}