search for: add_missing_zip

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

Did you mean: add_missing_zips
2006 Jul 18
1
Need Help Updating Records
...- I am missing something simple and basic here. I am trying to update missing zip codes on 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")...