Displaying 1 result from an estimated 1 matches for "statecontroller".
Did you mean:
  statescontroller
  
2006 Feb 04
4
AJAX rendered select doesn''t get submitted
...er",
                :url => {:controller => ''state'', :action => :filtered_state_select},
                :with => "''country_code='' + 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 + '' -''}...