# File lib/genome-lib/threads.rb, line 13 def run cut_off = Time.now - @seconds stale_records = @model.find(:all, :conditions => ["last_updated < ?", cut_off]) stale_records.each {|r| log("Evicting: #{r}")} @model.destroy(stale_records) end