Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [5bf3d46becdec8705681b8914376a26a6c759dae] by José Valim

Revision 5bf3d46becdec8705681b8914376a26a6c759dae, committed 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.
https://github.com/rails/rails/commit/5bf3d46becdec8705681b8914376a...

4 changed files

  • 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