Displaying 1 result from an estimated 1 matches for "ending_no_zips".
2006 Jul 18
1
Need Help Updating Records
...table if a zip code is found
unless (result.empty? || result[0]["zip"] == ('''' || nil))
r.zipcode = result[0]["zip"]
end
end
end_no_zips = Source.find(:all, :conditions => ["zipcode = ?", (nil
|| '''') ])
@ending_no_zips = end_no_zips.length
end
--
Posted via http://www.ruby-forum.com/.