On Aug 5, 5:30 ¨Âí¬ ¢Äáöéä Á® Âìáãë¢ ¼äâì®®®Àòõâùðáì®ãïí¾ ÷òïôåº
> ActiveRecord overrides #find for its association collections, so you'd
> have to use #detect, or a :conditions clause on the find.

It's one of the few things that make me cringe about Rails - some
native Ruby things are changed when they shouldn't be.

I wonder if I could submit a patch to make #find, when given only a
block, fall back to "normal" Ruby usage.

I shall investigate :-)

Jeff

REST with Rails, Oct 4, 2008, in Austin, TX:
http://www.purpleworkshops.com/workshops/rest-and-web-services

> David
>
> --
> Rails training from David A. Black and Ruby Power and Light:
> *  ¨Âäöáîãéîç ×éôè Òáéì ¨Âõçõ󱸭² ¨Âäéóïî¬ ÎÊ
> * Co-taught by D.A. Black and Erik Kastner
> Seehttp://www.rubypal.comfor details and updates!