{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/19799","labels_url":"https://api.github.com/repos/rails/rails/issues/19799/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/19799/comments","events_url":"https://api.github.com/repos/rails/rails/issues/19799/events","html_url":"https://github.com/rails/rails/pull/19799","id":69155582,"number":19799,"title":"[ci skip] Fix docs and guide about 'Array.wrap'","user":{"login":"yui-knk","id":5356517,"avatar_url":"https://avatars.githubusercontent.com/u/5356517?v=3","gravatar_id":"","url":"https://api.github.com/users/yui-knk","html_url":"https://github.com/yui-knk","followers_url":"https://api.github.com/users/yui-knk/followers","following_url":"https://api.github.com/users/yui-knk/following{/other_user}","gists_url":"https://api.github.com/users/yui-knk/gists{/gist_id}","starred_url":"https://api.github.com/users/yui-knk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yui-knk/subscriptions","organizations_url":"https://api.github.com/users/yui-knk/orgs","repos_url":"https://api.github.com/users/yui-knk/repos","events_url":"https://api.github.com/users/yui-knk/events{/privacy}","received_events_url":"https://api.github.com/users/yui-knk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/docs","name":"docs","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T15:01:39Z","updated_at":"2015-04-19T14:25:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/19799","html_url":"https://github.com/rails/rails/pull/19799","diff_url":"https://github.com/rails/rails/pull/19799.diff","patch_url":"https://github.com/rails/rails/pull/19799.patch"},"body":"`This method returns an empty array if argument is +nil+` is explained [here](https://github.com/rails/rails/blob/349b3effe5a694b53f16b2305ab65a9df09bf021/activesupport/lib/active_support/core_ext/array/wrap.rb#L6). So we can remove this.\r\nAnd we should explain how this method work when [+to_ary+ is not defined](https://github.com/rails/rails/blob/349b3effe5a694b53f16b2305ab65a9df09bf021/activesupport/lib/active_support/core_ext/array/wrap.rb#L43), because this is different from `Kernel#Array`."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/94281795","html_url":"https://github.com/rails/rails/pull/19799#issuecomment-94281795","issue_url":"https://api.github.com/repos/rails/rails/issues/19799","id":94281795,"user":{"login":"yui-knk","id":5356517,"avatar_url":"https://avatars.githubusercontent.com/u/5356517?v=3","gravatar_id":"","url":"https://api.github.com/users/yui-knk","html_url":"https://github.com/yui-knk","followers_url":"https://api.github.com/users/yui-knk/followers","following_url":"https://api.github.com/users/yui-knk/following{/other_user}","gists_url":"https://api.github.com/users/yui-knk/gists{/gist_id}","starred_url":"https://api.github.com/users/yui-knk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yui-knk/subscriptions","organizations_url":"https://api.github.com/users/yui-knk/orgs","repos_url":"https://api.github.com/users/yui-knk/repos","events_url":"https://api.github.com/users/yui-knk/events{/privacy}","received_events_url":"https://api.github.com/users/yui-knk/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T14:25:03Z","updated_at":"2015-04-19T14:25:03Z","body":"@robin850   I did !  Thx!"}}