Project

General

Profile

Download (238 Bytes) Statistics
| Branch: | Tag: | Revision:

root / app / models / artwork_material.rb @ 3807b362

1
class ArtworkMaterial < ActiveRecord::Base
2
  has_and_belongs_to_many :artworks, :order => "title ASC"
3

    
4
  validates_presence_of :name
5
  validates_uniqueness_of :name
6
  validates_length_of :name, :within => 1..128, :allow_blank => true
7
end
(4-4/12)