Project

General

Profile

Download (229 Bytes) Statistics
| Branch: | Tag: | Revision:
class ArtworkPlacementReason < ActiveRecord::Base
has_many :artworks, :order => "title ASC"

validates_presence_of :name
validates_uniqueness_of :name
validates_length_of :name, :within => 1..64, :allow_blank => true
end
(5-5/11)