Chris@909: class Meeting < ActiveRecord::Base Chris@909: belongs_to :project Chris@909: Chris@909: acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, Chris@909: :datetime => :scheduled_on, Chris@909: :author => nil, Chris@909: :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} Chris@909: Chris@909: acts_as_activity_provider :timestamp => 'scheduled_on', Chris@909: :find_options => { :include => :project } Chris@909: end