search for: update_from_year

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

2010 Jan 30
2
passing multiple objects with remote_function
...ller via: Select Year: <%= collection_select("vehicle", "year", @availableYears, "year", "year", {:prompt => "Select a year"}, {:onchange => "#{remote_function(:url => {:action => "update_from_year"}, :with => "''vehicle_year_id=''+value")}"}) %></li> What I would like to do is pass all the form values (4) to the controller with 1 :onchnage action. My controller logic needs to replace differ...