# File app/models/conference.rb, line 45
  def self.in_cfp_period(req={})
    self.find(:all, { :conditions => '(cfp_open_date IS NOT NULL OR ' +
                'cfp_close_date IS NOT NULL) AND now()::date BETWEEN ' +
                'COALESCE(cfp_open_date, now()::date) AND ' +
                'COALESCE(cfp_close_date, begins, now()::date)',
                :order => :begins}.merge(req))
  end