This project is archived and is in readonly mode.

Changeset [5bf3d46becdec8705681b8914376a26a6c759dae] by José Valim

April 11th, 2011 @ 04:41 PM

Revert "Add :use_include option to allow user to explicitly use Range#include? method in Ruby 1.9"

Use :with => range.to_a instead.

This reverts commit f6540211b5b9133c9f93c11655a04d613c237e67.

Committed by José Valim

  • M activemodel/lib/active_model/validations/exclusion.rb
  • M activemodel/lib/active_model/validations/inclusion.rb
  • M activemodel/test/cases/validations/exclusion_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>