search for: component_action

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

2006 May 09
0
Passing params between actions?
...e search parameters so the searches can be re-run later. So where should code specific to the search action go? I dont'' want to put it in component_update as then both actions would use it. But if I put it in the search action, I''m not sure how to then pass the params on to the component_action? if @params[:saved_search_id] @saved_search = SavedSearch.find(params[:saved_search_id]) else @saved_search = SavedSearch.new saved_search.update_attributes(params[:saved_search]) end Thanks to Brian Hughes and Liquid for great answers on my doc question! Thanks, Eric -...