{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/19157","labels_url":"https://api.github.com/repos/rails/rails/issues/19157/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/19157/comments","events_url":"https://api.github.com/repos/rails/rails/issues/19157/events","html_url":"https://github.com/rails/rails/pull/19157","id":59430372,"number":19157,"title":"Add Enumerable#without","user":{"login":"todd","id":120350,"avatar_url":"https://avatars.githubusercontent.com/u/120350?v=3","gravatar_id":"","url":"https://api.github.com/users/todd","html_url":"https://github.com/todd","followers_url":"https://api.github.com/users/todd/followers","following_url":"https://api.github.com/users/todd/following{/other_user}","gists_url":"https://api.github.com/users/todd/gists{/gist_id}","starred_url":"https://api.github.com/users/todd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/todd/subscriptions","organizations_url":"https://api.github.com/users/todd/orgs","repos_url":"https://api.github.com/users/todd/repos","events_url":"https://api.github.com/users/todd/events{/privacy}","received_events_url":"https://api.github.com/users/todd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-02T02:01:15Z","updated_at":"2015-03-02T05:08:54Z","closed_at":"2015-03-02T03:05:47Z","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/19157","html_url":"https://github.com/rails/rails/pull/19157","diff_url":"https://github.com/rails/rails/pull/19157.diff","patch_url":"https://github.com/rails/rails/pull/19157.patch"},"body":"Re: #19082 \r\n\r\nI mostly took the code @dhh provided in the aforementioned issue and made a minor tweak after reviewing the relevant Ruby source and running some benchmarks - `Array#reject` is actually slower than `Array#-`, so I'm conditionally calling `-` on the enumerable if it's an `Array`. I can provide some benchmarks if anyone would like to see them. I'd also love for someone more well-versed in Ruby internals to take a look at this if they have the time."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/76659309","html_url":"https://github.com/rails/rails/pull/19157#issuecomment-76659309","issue_url":"https://api.github.com/repos/rails/rails/issues/19157","id":76659309,"user":{"login":"matthewd","id":1034,"avatar_url":"https://avatars.githubusercontent.com/u/1034?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewd","html_url":"https://github.com/matthewd","followers_url":"https://api.github.com/users/matthewd/followers","following_url":"https://api.github.com/users/matthewd/following{/other_user}","gists_url":"https://api.github.com/users/matthewd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewd/subscriptions","organizations_url":"https://api.github.com/users/matthewd/orgs","repos_url":"https://api.github.com/users/matthewd/repos","events_url":"https://api.github.com/users/matthewd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewd/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T05:08:54Z","updated_at":"2015-03-02T05:08:54Z","body":"`grouping.rb`?"}}