GitHub PullRequestReviewCommentEvent at 2014-05-18 00:06:53
Repository: rails
Actor: sgrif
Payload: {"comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/12771492","id":12771492,"diff_hunk":"@@ -49,7 +49,8 @@ def to_model\n     #   person = Person.create\n     #   person.to_key # => [1]\n     def to_key\n-      key = respond_to?(:id) && id\n+      defined_key = (self.class.try(:primary_key) || 'id').to_sym","path":"activemodel/lib/active_model/conversion.rb","position":5,"original_position":5,"commit_id":"4b139726d9a5ee6b3a6c0b47dae49d5b787b58cd","original_commit_id":"4b139726d9a5ee6b3a6c0b47dae49d5b787b58cd","user":{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?","gravatar_id":"0f674817f8c6e149518f0a4b4ad3d560","url":"https://api.github.com/users/sgrif","html_url":"https://github.com/sgrif","followers_url":"https://api.github.com/users/sgrif/followers","following_url":"https://api.github.com/users/sgrif/following{/other_user}","gists_url":"https://api.github.com/users/sgrif/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrif/subscriptions","organizations_url":"https://api.github.com/users/sgrif/orgs","repos_url":"https://api.github.com/users/sgrif/repos","events_url":"https://api.github.com/users/sgrif/events{/privacy}","received_events_url":"https://api.github.com/users/sgrif/received_events","type":"User","site_admin":false},"body":"Is the symbol conversion necessary here?","created_at":"2014-05-18T00:06:53Z","updated_at":"2014-05-18T00:06:53Z","html_url":"https://github.com/rails/rails/pull/15163#discussion_r12771492","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/15163","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/12771492"},"html":{"href":"https://github.com/rails/rails/pull/15163#discussion_r12771492"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/15163"}}}}