Project

General

Profile

« Previous | Next » 

Revision 70e65017

Added by Marc Dequènes over 12 years ago

  • ID 70e65017593750754038374c7fab3b153ba60b5d

[fix] renamed 'technique' into more appropriate name 'artwork_support', and update schema and translations (Closes #4)

View differences:

app/models/artwork.rb
6 6
  belongs_to :artwork_condition
7 7
  belongs_to :artwork_placement_reason
8 8
  has_many :artwork_step_images, :order => "date ASC"
9
  has_and_belongs_to_many :techniques, :order => "name ASC"
9
  has_and_belongs_to_many :artwork_supports, :order => "name ASC"
10 10

  
11 11
  validates_presence_of :title, :artwork_material_id, :artwork_size_id, :artwork_condition_id
12 12
  validates_uniqueness_of :title

Also available in: Unified diff