C0 code coverage information
Generated on Fri Feb 20 01:17:01 -0800 2009 with
rcov 0.8.1.2
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 Comment < ActiveRecord::Base 2 3
belongs_to :idea 4
5 validates_presence_of
:author, :allow_blank => false 6 validates_format_of :author, :with => /^\w+$/i
7 8 validates_presence_of :body,
:allow_blank => false
9 10 validates_presence_of
:idea_id 11
validates_associated :idea 12 13
end
Generated using the rcov
code coverage analysis tool for Ruby version 0.8.1.2.