[Rails] Re: Searching a database

N/a N/a
Sat, 05 Aug 2006 15:50:44 -0000

Zack Chandler wrote:
> What class is this list you are refering to?  If it is a result set
> from a ActiveRecord find call try this:
>
> jobs = Job.find :all
> big_jobs = jobs.find{|job| job.total_sale > 100000 }
>
> Hope this helps,
> Zack

Well, since it will be my first comercial app using rails, I will go
slow, so i''ll keep it ActiveRecord.