Mercurial > hg > soundsoftware-site
view extra/sample_plugin/app/models/.svn/text-base/meeting.rb.svn-base @ 299:defe55be97b9 feature_73
Do not show external checkbox/field until the repo has been automatically populated
Pull external Hg as well as git and svn repos
Some textual changes
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 24 Mar 2011 15:48:36 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class Meeting < ActiveRecord::Base belongs_to :project acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, :datetime => :scheduled_on, :author => nil, :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} acts_as_activity_provider :timestamp => 'scheduled_on', :find_options => { :include => :project } end