{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/25699","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/25699/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/25699/comments","events_url":"https://api.github.com/repos/rails/rails/issues/25699/events","html_url":"https://github.com/rails/rails/pull/25699","id":163838986,"number":25699,"title":"Fix: Scope raises error when array is passed as argument.","user":{"login":"mechanicles","id":77895,"avatar_url":"https://avatars.githubusercontent.com/u/77895?v=3","gravatar_id":"","url":"https://api.github.com/users/mechanicles","html_url":"https://github.com/mechanicles","followers_url":"https://api.github.com/users/mechanicles/followers","following_url":"https://api.github.com/users/mechanicles/following{/other_user}","gists_url":"https://api.github.com/users/mechanicles/gists{/gist_id}","starred_url":"https://api.github.com/users/mechanicles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mechanicles/subscriptions","organizations_url":"https://api.github.com/users/mechanicles/orgs","repos_url":"https://api.github.com/users/mechanicles/repos","events_url":"https://api.github.com/users/mechanicles/events{/privacy}","received_events_url":"https://api.github.com/users/mechanicles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"}],"state":"open","locked":false,"assignee":{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?v=3","gravatar_id":"","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},"assignees":[{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?v=3","gravatar_id":"","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}],"milestone":null,"comments":6,"created_at":"2016-07-05T12:29:15Z","updated_at":"2016-07-18T14:43:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/25699","html_url":"https://github.com/rails/rails/pull/25699","diff_url":"https://github.com/rails/rails/pull/25699.diff","patch_url":"https://github.com/rails/rails/pull/25699.patch"},"body":"Fixes #25654\r\n\r\n~~Pass scope's arguments as it is to the proc body.~~\r\n\r\nUpdate: Don't splat the args if argument size is 1 and that argument is an array. "},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/233349341","html_url":"https://github.com/rails/rails/pull/25699#issuecomment-233349341","issue_url":"https://api.github.com/repos/rails/rails/issues/25699","id":233349341,"user":{"login":"mechanicles","id":77895,"avatar_url":"https://avatars.githubusercontent.com/u/77895?v=3","gravatar_id":"","url":"https://api.github.com/users/mechanicles","html_url":"https://github.com/mechanicles","followers_url":"https://api.github.com/users/mechanicles/followers","following_url":"https://api.github.com/users/mechanicles/following{/other_user}","gists_url":"https://api.github.com/users/mechanicles/gists{/gist_id}","starred_url":"https://api.github.com/users/mechanicles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mechanicles/subscriptions","organizations_url":"https://api.github.com/users/mechanicles/orgs","repos_url":"https://api.github.com/users/mechanicles/repos","events_url":"https://api.github.com/users/mechanicles/events{/privacy}","received_events_url":"https://api.github.com/users/mechanicles/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T14:43:17Z","updated_at":"2016-07-18T14:43:17Z","body":"@sgrif @tenderlove Any update on this? because actual issue got fixed in Ruby a few days back. \r\n\r\nIs this PR still valid? We also need to support for old/current Ruby versions as well so I think this PR makes sense to me.\r\n\r\nLet me know your thoughts."}}
{"actor":{"display_login":"mechanicles"}}