This project is archived and is in readonly mode.

#2950 ✓wontfix
Jamie Rumbelow

More convenience wrappers for ActiveRecord::Base finds

Reported by Jamie Rumbelow | July 24th, 2009 @ 06:05 PM | in 2.x

I'm constantly annoyed when I type find_all and find_first and get a MethodNotFound error - these methods seem natural to me and to other developers I've talked to. So I thought I'd submit my first patch! These three methods are implemented and tested, and doc comments have been added. It's a simple implementation, but it works well.

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>

Attachments

Pages