search for: find_all_by_list_prompt

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

2006 Apr 09
12
Help With Dependent Drop-Down and @Params
....adamhegedus.com/articles/2006/01/19/ajaxed-select-boxes-in-rails Here is my problem: The user selects a Utility and a select with Receiving Points is updated with the items related to the specific utility. Here is my code... <<controller>> def fill_rec_points @lookups = Lookup.find_all_by_list_prompt(@params[:utility], :order => ''list_item'') render :partial => ''rec_points'' #I use a partial here to fill the span so as not to mix View and Business logic in the controller... end <<view>> <p><label for="deal_utilit...