This project is archived and is in readonly mode.

#6455 ✓committed
Diego Carrion

Added Range#cover?

Reported by Diego Carrion | February 19th, 2011 @ 11:51 PM | in 3.1

Hi, I added Range#cover? case it doesn't exist (Ruby 1.8). This modification allowed a considerable refactoring of ActiveModel::Validations::InclusionValidator#validate_each also included in the attached patch.

Comments and changes to this ticket

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>


Referenced by