search for: no_zip

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

Did you mean: no_gzip
2006 Jul 18
1
Need Help Updating Records
...n a data table. I am doing something incorrectly as the data in the Source table is not being updated, only the value in the array is changed. How do I get this to update the actual DB record instead? def add_missing_zips #find all records in source table that don''t have zip codes no_zips = Source.find(:all, :conditions => [ "zipcode = ?", (nil || '''') ]) @starting_no_zips = no_zips.length server = XMLRPC::Client.new2("http://geocoder.us/service/xmlrpc") no_zips.each do |r| result = server.call("geocode", r.full_addre...