search for: find_all_by_country_id

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

2006 Feb 04
4
AJAX rendered select doesn''t get submitted
...'' + value") %> _______________________________________________________________________________ StateController#filtered_state_select def filtered_state_select #ajax action country = Country.find_by_code(@params["country_code"]) @state_groups = StateGroup.find_all_by_country_id(country.id) @state_groups.each {|g| g.name = ''- '' + g.name + '' -''} render(:partial => ''options'') end _______________________________________________________________________________ _options.rhtml partial that gets rendered:...