search for: localform

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

2005 Dec 23
2
Bizarre problems with AJAX / missing variables
...e error; but now it didn''t seem to be picking up any changes to the local variable ''county'' (again, still working as expected on my development machine). It doesn''t seem that the county variable is being set. Here is the code for the relevant AJAX action: def localform rawcode = request.raw_post || request.query_string @county = County.find( rawcode.sub( /^(\d+)\D.*$/ ) { |s| $1 } ) if ( @county.country.code == "IE" ) render :partial => "roilocaladdress", :layout => false, :locals => { :county => @county.id, :rawc...