{"action":"created","comment":{"url":"https://api.github.com/repos/aliou/places/pulls/comments/26430337","id":26430337,"diff_hunk":"@@ -0,0 +1,37 @@\n+# == Schema Information\n+#\n+# Table name: attachments\n+#\n+#  id         :integer          not null, primary key\n+#  type       :string\n+#  url        :string\n+#  created_at :datetime         not null\n+#  updated_at :datetime         not null\n+#  place_id   :integer\n+#\n+# Indexes\n+#\n+#  index_attachments_on_place_id  (place_id)\n+#\n+\n+class Attachment < ActiveRecord::Base\n+\n+  ######################################################################\n+  # Constants                                                          #\n+  ######################################################################\n+\n+  ATTACHMENT_TYPES = []\n+\n+  ######################################################################\n+  # Macros                                                             #\n+  ######################################################################\n+\n+  belongs_to :place\n+\n+  ######################################################################\n+  # Validations                                                        #\n+  ######################################################################\n+\n+  validates :url, presence: true\n+","path":"app/models/attachment.rb","position":36,"original_position":36,"commit_id":"c56642769ff26dc2a8eb405d9c64d015a1dd11aa","original_commit_id":"c56642769ff26dc2a8eb405d9c64d015a1dd11aa","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":"Extra empty line detected at class body end.","created_at":"2015-03-13T23:29:09Z","updated_at":"2015-03-13T23:29:09Z","html_url":"https://github.com/aliou/places/pull/11#discussion_r26430337","pull_request_url":"https://api.github.com/repos/aliou/places/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/aliou/places/pulls/comments/26430337"},"html":{"href":"https://github.com/aliou/places/pull/11#discussion_r26430337"},"pull_request":{"href":"https://api.github.com/repos/aliou/places/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/aliou/places/pulls/11","id":31172374,"html_url":"https://github.com/aliou/places/pull/11","diff_url":"https://github.com/aliou/places/pull/11.diff","patch_url":"https://github.com/aliou/places/pull/11.patch","issue_url":"https://api.github.com/repos/aliou/places/issues/11","number":11,"state":"open","locked":false,"title":"Attachments","user":{"login":"aliou","id":980367,"avatar_url":"https://avatars.githubusercontent.com/u/980367?v=3","gravatar_id":"","url":"https://api.github.com/users/aliou","html_url":"https://github.com/aliou","followers_url":"https://api.github.com/users/aliou/followers","following_url":"https://api.github.com/users/aliou/following{/other_user}","gists_url":"https://api.github.com/users/aliou/gists{/gist_id}","starred_url":"https://api.github.com/users/aliou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliou/subscriptions","organizations_url":"https://api.github.com/users/aliou/orgs","repos_url":"https://api.github.com/users/aliou/repos","events_url":"https://api.github.com/users/aliou/events{/privacy}","received_events_url":"https://api.github.com/users/aliou/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-13T23:29:06Z","updated_at":"2015-03-13T23:29:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65c8bc08d20c3af437448fd62c7b0c42efdd8683","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aliou/places/pulls/11/commits","review_comments_url":"https://api.github.com/repos/aliou/places/pulls/11/comments","review_comment_url":"https://api.github.com/repos/aliou/places/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aliou/places/issues/11/comments","statuses_url":"https://api.github.com/repos/aliou/places/statuses/c56642769ff26dc2a8eb405d9c64d015a1dd11aa","head":{"label":"aliou:attachments","ref":"attachments","sha":"c56642769ff26dc2a8eb405d9c64d015a1dd11aa","user":{"login":"aliou","id":980367,"avatar_url":"https://avatars.githubusercontent.com/u/980367?v=3","gravatar_id":"","url":"https://api.github.com/users/aliou","html_url":"https://github.com/aliou","followers_url":"https://api.github.com/users/aliou/followers","following_url":"https://api.github.com/users/aliou/following{/other_user}","gists_url":"https://api.github.com/users/aliou/gists{/gist_id}","starred_url":"https://api.github.com/users/aliou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliou/subscriptions","organizations_url":"https://api.github.com/users/aliou/orgs","repos_url":"https://api.github.com/users/aliou/repos","events_url":"https://api.github.com/users/aliou/events{/privacy}","received_events_url":"https://api.github.com/users/aliou/received_events","type":"User","site_admin":false},"repo":{"id":28521316,"name":"places","full_name":"aliou/places","owner":{"login":"aliou","id":980367,"avatar_url":"https://avatars.githubusercontent.com/u/980367?v=3","gravatar_id":"","url":"https://api.github.com/users/aliou","html_url":"https://github.com/aliou","followers_url":"https://api.github.com/users/aliou/followers","following_url":"https://api.github.com/users/aliou/following{/other_user}","gists_url":"https://api.github.com/users/aliou/gists{/gist_id}","starred_url":"https://api.github.com/users/aliou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliou/subscriptions","organizations_url":"https://api.github.com/users/aliou/orgs","repos_url":"https://api.github.com/users/aliou/repos","events_url":"https://api.github.com/users/aliou/events{/privacy}","received_events_url":"https://api.github.com/users/aliou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aliou/places","description":"","fork":false,"url":"https://api.github.com/repos/aliou/places","forks_url":"https://api.github.com/repos/aliou/places/forks","keys_url":"https://api.github.com/repos/aliou/places/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aliou/places/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aliou/places/teams","hooks_url":"https://api.github.com/repos/aliou/places/hooks","issue_events_url":"https://api.github.com/repos/aliou/places/issues/events{/number}","events_url":"https://api.github.com/repos/aliou/places/events","assignees_url":"https://api.github.com/repos/aliou/places/assignees{/user}","branches_url":"https://api.github.com/repos/aliou/places/branches{/branch}","tags_url":"https://api.github.com/repos/aliou/places/tags","blobs_url":"https://api.github.com/repos/aliou/places/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aliou/places/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aliou/places/git/refs{/sha}","trees_url":"https://api.github.com/repos/aliou/places/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aliou/places/statuses/{sha}","languages_url":"https://api.github.com/repos/aliou/places/languages","stargazers_url":"https://api.github.com/repos/aliou/places/stargazers","contributors_url":"https://api.github.com/repos/aliou/places/contributors","subscribers_url":"https://api.github.com/repos/aliou/places/subscribers","subscription_url":"https://api.github.com/repos/aliou/places/subscription","commits_url":"https://api.github.com/repos/aliou/places/commits{/sha}","git_commits_url":"https://api.github.com/repos/aliou/places/git/commits{/sha}","comments_url":"https://api.github.com/repos/aliou/places/comments{/number}","issue_comment_url":"https://api.github.com/repos/aliou/places/issues/comments{/number}","contents_url":"https://api.github.com/repos/aliou/places/contents/{+path}","compare_url":"https://api.github.com/repos/aliou/places/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aliou/places/merges","archive_url":"https://api.github.com/repos/aliou/places/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aliou/places/downloads","issues_url":"https://api.github.com/repos/aliou/places/issues{/number}","pulls_url":"https://api.github.com/repos/aliou/places/pulls{/number}","milestones_url":"https://api.github.com/repos/aliou/places/milestones{/number}","notifications_url":"https://api.github.com/repos/aliou/places/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aliou/places/labels{/name}","releases_url":"https://api.github.com/repos/aliou/places/releases{/id}","created_at":"2014-12-26T21:12:26Z","updated_at":"2015-03-13T23:28:24Z","pushed_at":"2015-03-13T23:28:37Z","git_url":"git://github.com/aliou/places.git","ssh_url":"git@github.com:aliou/places.git","clone_url":"https://github.com/aliou/places.git","svn_url":"https://github.com/aliou/places","homepage":"","size":2088,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"aliou:master","ref":"master","sha":"f9c3ea1abbbb0969183e2535404b6015c9a8ed86","user":{"login":"aliou","id":980367,"avatar_url":"https://avatars.githubusercontent.com/u/980367?v=3","gravatar_id":"","url":"https://api.github.com/users/aliou","html_url":"https://github.com/aliou","followers_url":"https://api.github.com/users/aliou/followers","following_url":"https://api.github.com/users/aliou/following{/other_user}","gists_url":"https://api.github.com/users/aliou/gists{/gist_id}","starred_url":"https://api.github.com/users/aliou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliou/subscriptions","organizations_url":"https://api.github.com/users/aliou/orgs","repos_url":"https://api.github.com/users/aliou/repos","events_url":"https://api.github.com/users/aliou/events{/privacy}","received_events_url":"https://api.github.com/users/aliou/received_events","type":"User","site_admin":false},"repo":{"id":28521316,"name":"places","full_name":"aliou/places","owner":{"login":"aliou","id":980367,"avatar_url":"https://avatars.githubusercontent.com/u/980367?v=3","gravatar_id":"","url":"https://api.github.com/users/aliou","html_url":"https://github.com/aliou","followers_url":"https://api.github.com/users/aliou/followers","following_url":"https://api.github.com/users/aliou/following{/other_user}","gists_url":"https://api.github.com/users/aliou/gists{/gist_id}","starred_url":"https://api.github.com/users/aliou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliou/subscriptions","organizations_url":"https://api.github.com/users/aliou/orgs","repos_url":"https://api.github.com/users/aliou/repos","events_url":"https://api.github.com/users/aliou/events{/privacy}","received_events_url":"https://api.github.com/users/aliou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aliou/places","description":"","fork":false,"url":"https://api.github.com/repos/aliou/places","forks_url":"https://api.github.com/repos/aliou/places/forks","keys_url":"https://api.github.com/repos/aliou/places/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aliou/places/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aliou/places/teams","hooks_url":"https://api.github.com/repos/aliou/places/hooks","issue_events_url":"https://api.github.com/repos/aliou/places/issues/events{/number}","events_url":"https://api.github.com/repos/aliou/places/events","assignees_url":"https://api.github.com/repos/aliou/places/assignees{/user}","branches_url":"https://api.github.com/repos/aliou/places/branches{/branch}","tags_url":"https://api.github.com/repos/aliou/places/tags","blobs_url":"https://api.github.com/repos/aliou/places/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aliou/places/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aliou/places/git/refs{/sha}","trees_url":"https://api.github.com/repos/aliou/places/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aliou/places/statuses/{sha}","languages_url":"https://api.github.com/repos/aliou/places/languages","stargazers_url":"https://api.github.com/repos/aliou/places/stargazers","contributors_url":"https://api.github.com/repos/aliou/places/contributors","subscribers_url":"https://api.github.com/repos/aliou/places/subscribers","subscription_url":"https://api.github.com/repos/aliou/places/subscription","commits_url":"https://api.github.com/repos/aliou/places/commits{/sha}","git_commits_url":"https://api.github.com/repos/aliou/places/git/commits{/sha}","comments_url":"https://api.github.com/repos/aliou/places/comments{/number}","issue_comment_url":"https://api.github.com/repos/aliou/places/issues/comments{/number}","contents_url":"https://api.github.com/repos/aliou/places/contents/{+path}","compare_url":"https://api.github.com/repos/aliou/places/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aliou/places/merges","archive_url":"https://api.github.com/repos/aliou/places/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aliou/places/downloads","issues_url":"https://api.github.com/repos/aliou/places/issues{/number}","pulls_url":"https://api.github.com/repos/aliou/places/pulls{/number}","milestones_url":"https://api.github.com/repos/aliou/places/milestones{/number}","notifications_url":"https://api.github.com/repos/aliou/places/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aliou/places/labels{/name}","releases_url":"https://api.github.com/repos/aliou/places/releases{/id}","created_at":"2014-12-26T21:12:26Z","updated_at":"2015-03-13T23:28:24Z","pushed_at":"2015-03-13T23:28:37Z","git_url":"git://github.com/aliou/places.git","ssh_url":"git@github.com:aliou/places.git","clone_url":"https://github.com/aliou/places.git","svn_url":"https://github.com/aliou/places","homepage":"","size":2088,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aliou/places/pulls/11"},"html":{"href":"https://github.com/aliou/places/pull/11"},"issue":{"href":"https://api.github.com/repos/aliou/places/issues/11"},"comments":{"href":"https://api.github.com/repos/aliou/places/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/aliou/places/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/aliou/places/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aliou/places/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/aliou/places/statuses/c56642769ff26dc2a8eb405d9c64d015a1dd11aa"}}}}