### C0 code coverage information

Generated on Sun Aug 31 02:38:35 -0400 2008 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.

Name | Total lines | Lines of code | Total coverage | Code coverage
app/models/photo.rb | `11` | `9` |
`100.0%` |
`100.0%` |

     1 class Photo < ActiveRecord::Base
     2   has_many :slides
     3   has_and_belongs_to_many :categories
     4
     5   validates_presence_of :filename
     6
     7   named_scope :with_filetype_jpg, :conditions => "filename like '%.jpg'"
     8   named_scope :with_thumbnail, :conditions => "thumbnail not null and thumbnail != ''"
     9   named_scope :with_filetype,
    10     lambda {|ftype| {:conditions => ["filename like ?", "%.#{ftype}"] } }
    11 end

Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.