This project is archived and is in readonly mode.
Changeset [13fb26b714dec0874303f51cc125ff62f65a2729] by Sven Fuchs + Mateo Murphy
Revision 13fb26b714dec0874303f51cc125ff62f65a2729,
committed by Sven Fuchs + Mateo Murphy
· August 29th, 2009 @ 05:48 PM
Fix ActiveRecord Error message I18n:
- allow messages and full_messages to be lazily translated at any time
- allow locales to be swapped and still obtain correctly localized messages
- allow localized global and error-type specific full_message formats
- extract an Error class
[#1687 state:open]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/13fb26b714dec0874303f51cc125ff...
4 changed files
-
M
activerecord/lib/active_record/autosave_association.rb -
M
activerecord/lib/active_record/locale/en.yml -
M
activerecord/lib/active_record/validations.rb -
M
activerecord/test/cases/validations_i18n_test.rb