myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3722] branches/packs/app/models: added model fil


From: noreply
Subject: [myexperiment-hackers] [3722] branches/packs/app/models: added model files for checklist results
Date: Thu, 26 Sep 2013 02:04:01 +0000 (UTC)

Revision
3722
Author
dgc
Date
2013-09-26 02:04:01 +0000 (Thu, 26 Sep 2013)

Log Message

added model files for checklist results

Added Paths

Diff

Added: branches/packs/app/models/checklist_item_result.rb (0 => 3722)


--- branches/packs/app/models/checklist_item_result.rb	                        (rev 0)
+++ branches/packs/app/models/checklist_item_result.rb	2013-09-26 02:04:01 UTC (rev 3722)
@@ -0,0 +1,11 @@
+# myExperiment: app/models/checklist_item_result.rb
+#
+# Copyright (c) 2007-2013 The University of Manchester, the University of
+# Oxford, and the University of Southampton.  See license.txt for details.
+
+class ChecklistItemResult < ActiveRecord::Base
+
+  belongs_to :checklist_result
+
+end
+

Added: branches/packs/app/models/checklist_result.rb (0 => 3722)


--- branches/packs/app/models/checklist_result.rb	                        (rev 0)
+++ branches/packs/app/models/checklist_result.rb	2013-09-26 02:04:01 UTC (rev 3722)
@@ -0,0 +1,12 @@
+# myExperiment: app/models/checklist_result.rb
+#
+# Copyright (c) 2007-2013 The University of Manchester, the University of
+# Oxford, and the University of Southampton.  See license.txt for details.
+
+class ChecklistResult < ActiveRecord::Base
+
+  belongs_to :research_object
+
+  has_many :checklist_item_results, :dependent => :destroy
+
+end

reply via email to

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