This project is archived and is in readonly mode.

Changeset [ed8cabcec24113e5effe327a313ea9c1fed600e0] by Xavier Noria

June 5th, 2010 @ 01:11 AM

deprecates Array#random_element in favor of Array#sample, backported from Ruby 1.9, thanks to Marc-Andre Lafortune
http://github.com/rails/rails/commit/ed8cabcec24113e5effe327a313ea9...

Committed by Xavier Noria

  • M activerecord/test/cases/associations/eager_load_nested_include_test.rb
  • M activerecord/test/cases/named_scope_test.rb
  • M activesupport/CHANGELOG
  • M activesupport/lib/active_support/core_ext/array/random_access.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>