Activity provider example in sample plugin.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1703 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-07-27 19:10:56 +00:00
parent d05bcda2ba
commit 3a4855d070
6 changed files with 28 additions and 13 deletions
@@ -0,0 +1,6 @@
class Meeting < ActiveRecord::Base
belongs_to :project
acts_as_activity_provider :timestamp => 'scheduled_on',
:find_options => { :include => :project }
end