This project is archived and is in readonly mode.
Changeset [d321e78646e1ba0ad012900008421e0b05541b9d] by Thilo Utke
December 1st, 2010 @ 11:03 AM
ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json serialization to properly handle multiple errors per attribute
Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/d321e78646e1ba0ad012900008421...
Committed by Thilo Utke
- M activemodel/lib/active_model/errors.rb
- M activemodel/test/cases/errors_test.rb
- M activemodel/test/cases/serializeration/json_serialization_test.rb
- M activemodel/test/cases/validations_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>