topics.each do |f|
  times +=1
  puts f.title
  if times > 4
    break


a little ugly, doesn't it?
-- 
Posted via http://www.ruby-forum.com/.