search for: subcatagory_id

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

2006 Mar 29
4
HELP: Rails / Ajax with 3 Drop down lists (see code)
...dentified by some other name? -JC The code thus far: THE CONTROLLER def lookup_subcats @subcatagories = 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'', ''ma...