search for: find_country_areas

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

2006 May 17
3
RJS behave differently than render :partial?
...tml page has a DIV with id="country_areas", which contains a partial that only makes a drop down of country areas for a specific country. When changing the country in the country drop down, it uses the :observe_field to call the below method and refresh the country_areas partial. def find_country_areas @country_areas = Country.find(:all, :condition => ("country_id =?", params[:country_id]) ) render :partial => "country_areas", :object => @country_areas end The country areas drop down is getting changed to reflect those country areas that are for a specific coun...