{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/comments/68978715","id":68978715,"diff_hunk":"@@ -1,3 +1,6 @@\n class Image < ActiveRecord::Base\n+\n   validates :url, :presence => true\n+  scope :reverse_sorted_by_ids, -> { order(created_at: :desc) }","path":"app/models/image.rb","position":null,"original_position":4,"commit_id":"3a9b644f899b4c333bb17fed89b42c3b13a7cb73","original_commit_id":"5efde34f2c6e6becc308af5e4e94febc8f42c01e","user":{"login":"gitlev","id":10267277,"avatar_url":"https://avatars.githubusercontent.com/u/10267277?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlev","html_url":"https://github.com/gitlev","followers_url":"https://api.github.com/users/gitlev/followers","following_url":"https://api.github.com/users/gitlev/following{/other_user}","gists_url":"https://api.github.com/users/gitlev/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlev/subscriptions","organizations_url":"https://api.github.com/users/gitlev/orgs","repos_url":"https://api.github.com/users/gitlev/repos","events_url":"https://api.github.com/users/gitlev/events{/privacy}","received_events_url":"https://api.github.com/users/gitlev/received_events","type":"User","site_admin":false},"body":"ml - changed name of scope to accurately describe definition\r\nhttps://github.com/AppFolioOnboarding/image-sharer-gitlev/commit/3a9b644f899b4c333bb17fed89b42c3b13a7cb73","created_at":"2016-06-29T16:18:41Z","updated_at":"2016-06-29T16:18:41Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev/pull/22#discussion_r68978715","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/comments/68978715"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-gitlev/pull/22#discussion_r68978715"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22","id":75568137,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev/pull/22","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev/pull/22.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev/pull/22.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/22","number":22,"state":"open","locked":false,"title":"Ml image index","user":{"login":"gitlev","id":10267277,"avatar_url":"https://avatars.githubusercontent.com/u/10267277?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlev","html_url":"https://github.com/gitlev","followers_url":"https://api.github.com/users/gitlev/followers","following_url":"https://api.github.com/users/gitlev/following{/other_user}","gists_url":"https://api.github.com/users/gitlev/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlev/subscriptions","organizations_url":"https://api.github.com/users/gitlev/orgs","repos_url":"https://api.github.com/users/gitlev/repos","events_url":"https://api.github.com/users/gitlev/events{/privacy}","received_events_url":"https://api.github.com/users/gitlev/received_events","type":"User","site_admin":false},"body":"Closes #3","created_at":"2016-06-28T23:40:33Z","updated_at":"2016-06-29T16:18:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"772aac70078105d2899e93d732f3c1630d276736","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/22/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/statuses/3a9b644f899b4c333bb17fed89b42c3b13a7cb73","head":{"label":"AppFolioOnboarding:mlImageIndex","ref":"mlImageIndex","sha":"3a9b644f899b4c333bb17fed89b42c3b13a7cb73","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":61572057,"name":"image-sharer-gitlev","full_name":"AppFolioOnboarding/image-sharer-gitlev","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev","description":"image-sharer-gitlev created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/deployments","created_at":"2016-06-20T18:47:47Z","updated_at":"2016-06-20T18:47:54Z","pushed_at":"2016-06-29T16:16:24Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-gitlev.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-gitlev.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev","homepage":null,"size":121,"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":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"c5fb77b88dab47aeb14d053b17969c4b838d0988","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":61572057,"name":"image-sharer-gitlev","full_name":"AppFolioOnboarding/image-sharer-gitlev","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev","description":"image-sharer-gitlev created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/deployments","created_at":"2016-06-20T18:47:47Z","updated_at":"2016-06-20T18:47:54Z","pushed_at":"2016-06-29T16:16:24Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-gitlev.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-gitlev.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-gitlev","homepage":null,"size":121,"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":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-gitlev/pull/22"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/22"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-gitlev/statuses/3a9b644f899b4c333bb17fed89b42c3b13a7cb73"}}}}
{"actor":{"display_login":"gitlev"}}