C0 code coverage information
Generated on Sun May 10 11:15:58 +0100 2009 with rcov 0.8.2.1
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 Picture < ActiveRecord::Base
2 include Permissions::Pictures
3 include RecordUserWhoCreated
4 default_scope :order => 'created_at DESC'
5 attr_accessible :title
6
7 has_attachment :content_type => :image,
8 :storage => :file_system,
9 :max_size => 1.megabyte
10
11 validates_as_attachment
12 end
Generated using the rcov code coverage analysis tool for Ruby
version 0.8.2.1.