C0 code coverage information
Generated on Mon Dec 08 16:53:36 -0800 2008 with rcov 0.8.1.3
Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
1 class PatientCondition < ActiveRecord::Base
2 has_many :patient_medications, :dependent => :destroy
3 has_many :medications, :through => :patient_medications
4
5 belongs_to :patient_visit
6 belongs_to :condition
7
8 validates_presence_of :patient_visit
9 validates_presence_of :condition
10
11 validates_length_of :patient_condition_remarks,
12 :maximum => 10000, :allow_blank => true
13
14 def patient
15 patient_visit.patient
16 end
17 #
18 # def patient_id
19 # visit.patient.id
20 # end
21 end
Generated using the rcov code coverage analysis tool for Ruby
version 0.8.1.3.