This project is archived and is in readonly mode.

Changeset [1c3711b21b5c80343a51e19504552b3f6c34ac73] by José Valim

December 16th, 2009 @ 08:18 PM

Fix another regression due to the inclusion of ActiveRecord::Error.

If a string is supplied to :default, it should not be used a
translation key (we already have :message for that).
[#3564 status:resolved]

Signed-off-by: Joshua Peek josh@joshpeek.com
http://github.com/rails/rails/commit/1c3711b21b5c80343a51e19504552b...

Committed by José Valim

  • M activerecord/lib/active_record/validations.rb
  • M activerecord/test/cases/validations_i18n_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>