GitHub PullRequestReviewCommentEvent at 2014-02-15 17:19:39
Repository: Gandalf
Actor: nudded
Payload: {"comment":{"url":"https://api.github.com/repos/ZeusWPI/Gandalf/pulls/comments/9773525","id":9773525,"diff_hunk":"@@ -67,8 +67,11 @@ def create\n   def statistics\n     @event = Event.find params.require(:id)\n     authorize! :view_stats, @event\n+\n+    min, max = (@event.registrations.map {|r| r.created_at}).minmax","path":"app/controllers/events_controller.rb","position":5,"original_position":5,"commit_id":"610bc795f9c19437a102f8e1725f9de3f6a27150","original_commit_id":"610bc795f9c19437a102f8e1725f9de3f6a27150","user":{"login":"nudded","id":104395,"avatar_url":"https://gravatar.com/avatar/8360f290e7633426f066e46e2ceb9b96?d=https%3A%2F%2Fidenticons.github.com%2F5fff6ae87eb0a1316e3e1f812d824144.png&r=x","gravatar_id":"8360f290e7633426f066e46e2ceb9b96","url":"https://api.github.com/users/nudded","html_url":"https://github.com/nudded","followers_url":"https://api.github.com/users/nudded/followers","following_url":"https://api.github.com/users/nudded/following{/other_user}","gists_url":"https://api.github.com/users/nudded/gists{/gist_id}","starred_url":"https://api.github.com/users/nudded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nudded/subscriptions","organizations_url":"https://api.github.com/users/nudded/orgs","repos_url":"https://api.github.com/users/nudded/repos","events_url":"https://api.github.com/users/nudded/events{/privacy}","received_events_url":"https://api.github.com/users/nudded/received_events","type":"User","site_admin":false},"body":"protip: @event.registrations.pluck(:create_at) (this will create an array, and issue a more efficient SQL query)","created_at":"2014-02-15T17:19:39Z","updated_at":"2014-02-15T17:19:39Z","html_url":"https://github.com/ZeusWPI/Gandalf/pull/406#discussion_r9773525","pull_request_url":"https://api.github.com/repos/ZeusWPI/Gandalf/pulls/406","_links":{"self":{"href":"https://api.github.com/repos/ZeusWPI/Gandalf/pulls/comments/9773525"},"html":{"href":"https://github.com/ZeusWPI/Gandalf/pull/406#discussion_r9773525"},"pull_request":{"href":"https://api.github.com/repos/ZeusWPI/Gandalf/pulls/406"}}}}