This project is archived and is in readonly mode.

Changeset [1a2a71333f197e98d1cd7fe380d613cbada4446b] by Will Bryant

February 11th, 2009 @ 02:03 AM

Array#wrap should use #to_ary so association collections and named scopes are not re-wrapped

[#1935 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Will Bryant

  • M activesupport/lib/active_support/core_ext/array/wrapper.rb
  • M activesupport/test/core_ext/array_ext_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>