Thanks Bill, Thats looks like it'd work, in case it helps any, I ended up with...
def self.find_nil(name) resorts = Resort.find(:all, :conditions => {name => nil}) resorts.each do |resort| puts resort.name end puts resorts.length end which seems good. Anyone with any tips on how i might help myself with tasks to clean a large database would be interesting to hear! bb -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.