This project is archived and is in readonly mode.

#3419 ✓wontfix
Mike Breen

Allow ActiveRecord's find to take a Range

Reported by Mike Breen | October 24th, 2009 @ 05:58 PM

This patch will allow you to pass a Range of IDs to find:

Person.find(1..5)
Person.find(1, 3..8)

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages