This project is archived and is in readonly mode.

#2301 ✓ committed
Akira Matsuda

Ensure AR validation errors to be ordered in declared order

Reported by Akira Matsuda | March 20th, 2009 @ 01:56 AM | in 2.3.6

AR#errors sometimes returns error messages in unexpected order.

I wrote a patch to use OrderedHash for AR#errors in order to generate nicely ordered error messages even in good old Ruby 1.8.

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 »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

Attachments

Referenced by

Pages