You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

meeting.rb 480B

123456789101112
  1. class Meeting < ActiveRecord::Base
  2. belongs_to :project
  3. acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"},
  4. :datetime => :scheduled_on,
  5. :author => nil,
  6. :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}}
  7. acts_as_activity_provider :timestamp => 'scheduled_on',
  8. :scope => proc { includes(:project) },
  9. :permission => nil
  10. end