GitHub PullRequestReviewCommentEvent at 2014-08-06 12:02:10
Repository: foreman
Actor: daviddavis
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/15869125","id":15869125,"diff_hunk":"@@ -157,11 +157,11 @@ def select_title\n   end\n \n   def self.anonymous_admin\n-    unscoped.find_by_login ANONYMOUS_ADMIN or raise Foreman::Exception.new(N_(\"Anonymous admin user %s is missing, run foreman-rake db:seed\", ANONYMOUS_ADMIN))","path":"app/models/user.rb","position":4,"original_position":4,"commit_id":"43d9b44420196a7882d32a4bafc65140ec84d140","original_commit_id":"43d9b44420196a7882d32a4bafc65140ec84d140","user":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=2","gravatar_id":"497cd40cb47206741700dc90c84dd9d0","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"body":"I see, good catch.","created_at":"2014-08-06T12:02:10Z","updated_at":"2014-08-06T12:02:10Z","html_url":"https://github.com/theforeman/foreman/pull/1656#discussion_r15869125","pull_request_url":"https://api.github.com/repos/theforeman/foreman/pulls/1656","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/15869125"},"html":{"href":"https://github.com/theforeman/foreman/pull/1656#discussion_r15869125"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/1656"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/1656","id":19399191,"html_url":"https://github.com/theforeman/foreman/pull/1656","diff_url":"https://github.com/theforeman/foreman/pull/1656.diff","patch_url":"https://github.com/theforeman/foreman/pull/1656.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/1656","number":1656,"state":"open","title":"Fixes #6953 - Fixing N_ calls in User","user":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=2","gravatar_id":"497cd40cb47206741700dc90c84dd9d0","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"body":null,"created_at":"2014-08-06T11:54:10Z","updated_at":"2014-08-06T12:02:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce85619b93de260d64df3a651e252f4ef67d95f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/1656/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/1656/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/{number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/1656/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/43d9b44420196a7882d32a4bafc65140ec84d140","head":{"label":"daviddavis:temp/20140806075408","ref":"temp/20140806075408","sha":"43d9b44420196a7882d32a4bafc65140ec84d140","user":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=2","gravatar_id":"497cd40cb47206741700dc90c84dd9d0","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"repo":{"id":14025974,"name":"foreman","full_name":"daviddavis/foreman","owner":{"login":"daviddavis","id":86290,"avatar_url":"https://avatars.githubusercontent.com/u/86290?v=2","gravatar_id":"497cd40cb47206741700dc90c84dd9d0","url":"https://api.github.com/users/daviddavis","html_url":"https://github.com/daviddavis","followers_url":"https://api.github.com/users/daviddavis/followers","following_url":"https://api.github.com/users/daviddavis/following{/other_user}","gists_url":"https://api.github.com/users/daviddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddavis/subscriptions","organizations_url":"https://api.github.com/users/daviddavis/orgs","repos_url":"https://api.github.com/users/daviddavis/repos","events_url":"https://api.github.com/users/daviddavis/events{/privacy}","received_events_url":"https://api.github.com/users/daviddavis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daviddavis/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/daviddavis/foreman","forks_url":"https://api.github.com/repos/daviddavis/foreman/forks","keys_url":"https://api.github.com/repos/daviddavis/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daviddavis/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daviddavis/foreman/teams","hooks_url":"https://api.github.com/repos/daviddavis/foreman/hooks","issue_events_url":"https://api.github.com/repos/daviddavis/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/daviddavis/foreman/events","assignees_url":"https://api.github.com/repos/daviddavis/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/daviddavis/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/daviddavis/foreman/tags","blobs_url":"https://api.github.com/repos/daviddavis/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daviddavis/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daviddavis/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/daviddavis/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daviddavis/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/daviddavis/foreman/languages","stargazers_url":"https://api.github.com/repos/daviddavis/foreman/stargazers","contributors_url":"https://api.github.com/repos/daviddavis/foreman/contributors","subscribers_url":"https://api.github.com/repos/daviddavis/foreman/subscribers","subscription_url":"https://api.github.com/repos/daviddavis/foreman/subscription","commits_url":"https://api.github.com/repos/daviddavis/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/daviddavis/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/daviddavis/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/daviddavis/foreman/issues/comments/{number}","contents_url":"https://api.github.com/repos/daviddavis/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/daviddavis/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daviddavis/foreman/merges","archive_url":"https://api.github.com/repos/daviddavis/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daviddavis/foreman/downloads","issues_url":"https://api.github.com/repos/daviddavis/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/daviddavis/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/daviddavis/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/daviddavis/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daviddavis/foreman/labels{/name}","releases_url":"https://api.github.com/repos/daviddavis/foreman/releases{/id}","created_at":"2013-10-31T19:09:04Z","updated_at":"2014-08-06T11:52:21Z","pushed_at":"2014-08-06T11:55:24Z","git_url":"git://github.com/daviddavis/foreman.git","ssh_url":"git@github.com:daviddavis/foreman.git","clone_url":"https://github.com/daviddavis/foreman.git","svn_url":"https://github.com/daviddavis/foreman","homepage":"http://theforeman.org","size":16980,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"915524b392d17c1fd1cbdf054aa2f0c4e46fd3a9","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=2","gravatar_id":"debaffa7d317b9ec76a588682fb1e640","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=2","gravatar_id":"debaffa7d317b9ec76a588682fb1e640","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments/{number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","created_at":"2009-07-23T15:07:00Z","updated_at":"2014-08-04T08:56:01Z","pushed_at":"2014-08-06T10:34:33Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":55027,"stargazers_count":515,"watchers_count":515,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"forks_count":286,"mirror_url":null,"open_issues_count":63,"forks":286,"open_issues":63,"watchers":515,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/1656"},"html":{"href":"https://github.com/theforeman/foreman/pull/1656"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/1656"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/1656/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/1656/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/1656/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/43d9b44420196a7882d32a4bafc65140ec84d140"}}}}