[Rails] find_by_*

Bob Aman vacindak at gmail.com
Sat Feb 19 05:35:23 GMT 2005


On Sat, 19 Feb 2005 06:01:32 +0100, Sascha Ebach
<se at digitale-wertschoepfung.de> wrote:
> Bob Aman schrieb:
> >>Or the regexp that matches those method_missings does not match digits.
> >>
> >>Line 755, activerecord's base.rb
> >>
> >>          if method_name =~ /find_(all_by|by)_([_a-z]+)/
> >
> >
> > I was starting to suspect something like that.  Is there a legit
> > reason for this?
> 
> Probably only that method names very seldomly end in a digit. This
> should be filed as a ticket.

Um, ok.  How?
-- 
Bob Aman


More information about the Rails mailing list