This project is archived and is in readonly mode.

Changeset [74098e4cb6de01745db8f1d8d567645553ade7c5] by José Valim

December 23rd, 2009 @ 12:30 PM

No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
http://github.com/rails/rails/commit/74098e4cb6de01745db8f1d8d56764...

Committed by José Valim

  • A activerecord/test/cases/validations_repair_helper.rb
  • R activemodel/lib/active_model/validations_repair_helper.rb
  • M activemodel/lib/active_model.rb
  • M activemodel/test/cases/validations/acceptance_validation_test.rb
  • M activemodel/test/cases/validations/conditional_validation_test.rb
  • M activemodel/test/cases/validations/confirmation_validation_test.rb
  • M activemodel/test/cases/validations/exclusion_validation_test.rb
  • M activemodel/test/cases/validations/format_validation_test.rb
  • M activemodel/test/cases/validations/i18n_validation_test.rb
  • M activemodel/test/cases/validations/inclusion_validation_test.rb
  • M activemodel/test/cases/validations/length_validation_test.rb
  • M activemodel/test/cases/validations/numericality_validation_test.rb
  • M activemodel/test/cases/validations/presence_validation_test.rb
  • M activemodel/test/cases/validations/with_validation_test.rb
  • M activemodel/test/cases/validations_test.rb
  • M activemodel/test/models/person.rb
  • M activerecord/lib/active_record/validations/associated.rb
  • M activerecord/test/cases/helper.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>