Revision 2a4e5c89
Added by Marc Dequènes almost 14 years ago
- ID 2a4e5c8923d2697e74e5d2c02e556370e5ae90b0
app/models/artwork.rb | ||
---|---|---|
has_many :artwork_step_images, :order => "date ASC, position ASC, id DESC"
|
||
has_and_belongs_to_many :artwork_supports, :order => "name ASC"
|
||
has_and_belongs_to_many :artwork_materials, :order => "name ASC"
|
||
has_and_belongs_to_many :tags, :order => "name ASC"
|
||
|
||
validates_presence_of :title, :artwork_size_id, :artwork_condition_id
|
||
validates_uniqueness_of :title
|
Also available in: Unified diff
[evol] added tags and fixes a few typos