search for: city_controller

Displaying 2 results from an estimated 2 matches for "city_controller".

2006 Apr 06
0
3 doubts on observe_field
...nge of value of country_id? This operation is necessary to show the state field in the edition action of the data. <p><label for="city_state_id">Estado</label><br/></p> <div id="select_state"></div> . . . ==== city_controller.rb *** QUESTION 3: How I can receive the value from @form_country_id for parameter? Not to need to use request.raw_post... def ajax_states_from_country @states = State.find(:all, :order => "nome", :conditions => ["country_id = ?", request.raw_post]) render(:layout...
2006 Mar 01
1
observe_field question
I''m sure this is a simple problem, but I''ve been working on it for a couple days and can''t seem to figure out the correct way to structure my observe_field call. The HTML and Javascript generated all appear correct, but the AJAX call is never made. Below is the code I''m using and any help would be much appreciated. models_controller.rb def