{"pull_request":{"user":{"id":30423,"login":"keybi","url":"https://api.github.com/users/keybi","gravatar_id":"ee323e981584ef40e958bce2dbb1d9d0","avatar_url":"https://secure.gravatar.com/avatar/ee323e981584ef40e958bce2dbb1d9d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"title":"Fixed bugged group method","merged_at":null,"created_at":"2011-12-22T13:55:18Z","review_comments":0,"state":"open","updated_at":"2011-12-22T13:55:18Z","id":623480,"patch_url":"https://github.com/gammons/fake_arel/pull/24.patch","closed_at":null,"html_url":"https://github.com/gammons/fake_arel/pull/24","deletions":2,"mergeable":null,"base":{"user":{"id":38560,"login":"gammons","url":"https://api.github.com/users/gammons","gravatar_id":"5fc5f4dd13be5f1e40834300d23a398c","avatar_url":"https://secure.gravatar.com/avatar/5fc5f4dd13be5f1e40834300d23a398c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"ref":"master","sha":"d491ac3b9c3735653d6a638cefd58fc8c605f63b","repo":{"created_at":"2010-07-23T18:48:05Z","open_issues":3,"git_url":"git://github.com/gammons/fake_arel.git","watchers":44,"fork":false,"updated_at":"2011-12-21T18:26:43Z","id":793823,"language":"Ruby","html_url":"https://github.com/gammons/fake_arel","master_branch":null,"name":"fake_arel","description":"fake_arel is a library that simulates Rails 3 ActiveRecord Arel calls using extensions to named_scope.","url":"https://api.github.com/repos/gammons/fake_arel","clone_url":"https://github.com/gammons/fake_arel.git","pushed_at":"2011-11-03T06:08:05Z","ssh_url":"git@github.com:gammons/fake_arel.git","forks":3,"owner":{"id":38560,"login":"gammons","url":"https://api.github.com/users/gammons","gravatar_id":"5fc5f4dd13be5f1e40834300d23a398c","avatar_url":"https://secure.gravatar.com/avatar/5fc5f4dd13be5f1e40834300d23a398c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"homepage":"","svn_url":"https://svn.github.com/gammons/fake_arel","size":992,"private":false},"label":"gammons:master"},"issue_url":"https://github.com/gammons/fake_arel/issues/24","commits":2,"body":"Hi,\r\n\r\nI've fixed group method which was producing invalid sql i.e.\r\n\r\n```ruby\r\nUser.group(:email)\r\n```\r\nwill produce sql :\r\n\r\nSELECT users.* FROM users GROUP BY [email]\r\n\r\nwhich is of course wrong. ","additions":6,"number":24,"url":"https://api.github.com/repos/gammons/fake_arel/pulls/24","diff_url":"https://github.com/gammons/fake_arel/pull/24.diff","_links":{"review_comments":{"href":"https://api.github.com/repos/gammons/fake_arel/pulls/24/comments"},"html":{"href":"https://github.com/gammons/fake_arel/pull/24"},"self":{"href":"https://api.github.com/repos/gammons/fake_arel/pulls/24"},"comments":{"href":"https://api.github.com/repos/gammons/fake_arel/issues/24/comments"}},"merged_by":null,"comments":0,"head":{"user":{"id":30423,"login":"keybi","url":"https://api.github.com/users/keybi","gravatar_id":"ee323e981584ef40e958bce2dbb1d9d0","avatar_url":"https://secure.gravatar.com/avatar/ee323e981584ef40e958bce2dbb1d9d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"ref":"master","sha":"d6c784f535b7325cd3a098bdda6ebaa8f43c55eb","repo":{"created_at":"2011-12-21T18:26:43Z","open_issues":0,"git_url":"git://github.com/keybi/fake_arel.git","watchers":1,"fork":true,"updated_at":"2011-12-22T13:49:55Z","id":3028748,"language":"Ruby","html_url":"https://github.com/keybi/fake_arel","master_branch":null,"name":"fake_arel","description":"fake_arel is a library that simulates Rails 3 ActiveRecord Arel calls using extensions to named_scope.","url":"https://api.github.com/repos/keybi/fake_arel","clone_url":"https://github.com/keybi/fake_arel.git","pushed_at":"2011-12-22T13:49:55Z","ssh_url":"git@github.com:keybi/fake_arel.git","forks":0,"owner":{"id":30423,"login":"keybi","url":"https://api.github.com/users/keybi","gravatar_id":"ee323e981584ef40e958bce2dbb1d9d0","avatar_url":"https://secure.gravatar.com/avatar/ee323e981584ef40e958bce2dbb1d9d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"homepage":"","svn_url":"https://svn.github.com/keybi/fake_arel","size":952,"private":false},"label":"keybi:master"},"changed_files":2,"merged":false},"number":24,"action":"opened"}