myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3111] branches/events/app/models/workflow_versio


From: noreply
Subject: [myexperiment-hackers] [3111] branches/events/app/models/workflow_version.rb: added contributor association to workflow versions
Date: Sat, 25 Aug 2012 05:56:56 +0000 (UTC)

Revision
3111
Author
dgc
Date
2012-08-25 05:56:56 +0000 (Sat, 25 Aug 2012)

Log Message

added contributor association to workflow versions

Modified Paths

Diff

Modified: branches/events/app/models/workflow_version.rb (3110 => 3111)


--- branches/events/app/models/workflow_version.rb	2012-08-25 05:54:56 UTC (rev 3110)
+++ branches/events/app/models/workflow_version.rb	2012-08-25 05:56:56 UTC (rev 3111)
@@ -12,6 +12,8 @@
   belongs_to :content_blob, :dependent => :destroy
   belongs_to :content_type
 
+  belongs_to :contributor, :polymorphic => true
+
   validates_presence_of :content_blob
   validates_presence_of :content_type
   

reply via email to

[Prev in Thread] Current Thread [Next in Thread]