This project is archived and is in readonly mode.

#2629 ✓committed
Ken Collins

ActiveSupport::OrderedHash#to_a For Ruby1.9 Compatibility

Reported by Ken Collins | May 9th, 2009 @ 11:43 PM | in 2.x

Simple bug I noticed while upgrading my app to 1.9 and rails 2.3.2. The ActiveSupport::OrderedHash needs a logical #to_a method so that it creates a set of 2D arrays like ruby's 1.9 Hash would.

The test in places passes under both 1.9 and 1.8.7

Comments and changes to this ticket

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=""></a>

People watching this ticket


Referenced by