This project is archived and is in readonly mode.

#2463 ✓wontfix
John

Add first and last to OrderedHash

Reported by John | April 9th, 2009 @ 04:36 AM | in 3.x

When we upgraded our app from 2.1 to 2.3 the change in OrderedHash to be based on a hash rather than an array broke some of our code.

This patch adds first and last back onto the ordered hash - just for convenience's sake.

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages