Updated Rake tasks and test, spec to reflect change in how Merb environments
[merb_mart.git] / app / models / product_image.rb
blob53c5aa96a146136f6d90618750d1eee0c6b5f06f
1 # Represents a connection from an image to a product.
4 class ProductImage
5   
6   include DataMapper::Persistable
7   
8   belongs_to :product
9   belongs_to :image
10   
11   property :rank, :integer
12   
13 end