This project is archived and is in readonly mode.

Changeset [fa14d6d51ed89acde66b49e8d3a6423396c3d553] by José Valim

January 8th, 2010 @ 08:36 PM

Compile length validator options still at the class level, so whenever the validator is called, it just needs to check for :maximum, :minimum and :is values.
http://github.com/rails/rails/commit/fa14d6d51ed89acde66b49e8d3a642...

Committed by José Valim

  • M activemodel/lib/active_model/validations/exclusion.rb
  • M activemodel/lib/active_model/validations/inclusion.rb
  • M activemodel/lib/active_model/validations/length.rb
  • M activemodel/test/cases/validations/length_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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>