This project is archived and is in readonly mode.
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
-
Matt Jones July 26th, 2009 @ 05:47 AM
I doubt you'll have much luck with this - the methods used to be named like that, back in 2005 or so.
-
Pratik July 26th, 2009 @ 09:58 PM
- State changed from new to wontfix
Should just use first/all/last
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>