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 »

<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>

Attachments

Referenced by

Pages