ActiveRecord find upcoming events

Something like the following should work:

class Event < ActiveRecord::Base

def next_ten(after = DateTime.now, limit = 10)

find(:all, :conditions => [‘date > ?’, after], :limit => limit, :order => ‘date DESC’)

end

end

James.