Displaying 1 result from an estimated 1 matches for "af252ac8".
2006 Aug 02
1
Ordering the many in a many to one relationship
...tegory.find(params[:id])
@category.brands = Brand.find(:all, :conditions => ["category_id = ?",
params[:id]], :order => "name")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060802/af252ac8/attachment.html