search for: lookup_makes

Displaying 1 result from an estimated 1 matches for "lookup_makes".

2006 Mar 29
4
HELP: Rails / Ajax with 3 Drop down lists (see code)
...catagories = Subcatagory.find_all_by_catagory_id(@params[:catagory_id]).collect {|subc| [subc.subcatagory, subc.id]} render :inline => "<%= select ''tag'', ''subcatagory_id'', @subcatagories, {:selected => @subcat_count } %>" end def lookup_makes @subcat = (@params[:subcatagory_id]) @makes = @subcat.makes.find_all_by_make_id.collect {|m| [m.make, m.id]} render :inline => "<%= select ''tag'', ''make_id'', @makes, {:prompt => true } %>" end THE FORM: <p><%= selec...