This project is archived and is in readonly mode.

Changeset [df5691aa94f209a59945d60d750a5040b24dbc40] by José Valim

April 11th, 2011 @ 04:47 PM

No need to rescue here. Invoking the wrong method in an object can happen anywhere if you are not careful. In other words, test your shit.

Committed by José Valim

  • M activemodel/lib/active_model/validations/exclusion.rb
  • M activemodel/lib/active_model/validations/format.rb
  • M activemodel/lib/active_model/validations/inclusion.rb
  • M activemodel/test/cases/validations/exclusion_validation_test.rb
  • M activemodel/test/cases/validations/format_validation_test.rb
  • M activemodel/test/cases/validations/inclusion_validation_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=""></a>