repo.or.cz
/
merb_mart.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Updated Rake tasks and test, spec to reflect change in how Merb environments
[merb_mart.git]
/
app
/
models
/
product_image.rb
blob
53c5aa96a146136f6d90618750d1eee0c6b5f06f
1
# Represents a connection from an image to a product.
2
#
3
#
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