search for: find_all_by_city_id

Displaying 3 results from an estimated 3 matches for "find_all_by_city_id".

2006 Aug 16
8
Multiple (AJAX) Observers on the Same Field and MSIE
I have been using multiple observers, i.e., observe_field(), on the same input field and relying on them to execute in the same order that they appear in the page. This has been working fine in FireFox, but it does not seem to work in MSIE; the requests come in and are processed in a different order. Now, I''ve always been a little hesitant about using this technique, but it always
2006 Aug 16
0
Multiple observer
...>" @cities.each do |@city| @html += "<option value=''#{@city.id}''>#{@city.city_name}</option>" end @html += "</select>" render_text @html end def select_locality @localities = Locality.find_all_by_city_id(@params["id"]) @html = "<select id=''locality_id'' name=''home_for_rent[locality_id]''>" @html += "<option value="">Select Locality</option>" @localities.each do |@locality|...
2006 Aug 17
0
AJAX - Having Multiple SELECT (Drop Down), and dependency
...>" @cities.each do |@city| @html += "<option value=''#{@city.id}''>#{@city.city_name}</option>" end @html += "</select>" render_text @html end def select_locality @localities = Locality.find_all_by_city_id(@params["id"]) @html = "<select id=''locality_id'' name=''home_for_rent[locality_id]''>" @html += "<option value="">Select Locality</option>" @localities.each do |@locality|...