This project is archived and is in readonly mode.

Changeset [7148b933c4865a5140187d7ed792fd6df9b860a4] by Thilo Utke

December 1st, 2010 @ 10:43 AM

ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json serialization to properly handle multiple errors per attribute [#5615 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/7148b933c4865a5140187d7ed792f...

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>