Sha256: 64f095b9bde0213331d560d5846c759e687cbaf9c5fc93a68581010c10c53ec7
Contents?: true
Size: 537 Bytes
Versions: 9
Compression:
Stored size: 537 Bytes
Contents
class SubjectHeadingType < ActiveRecord::Base attr_accessible :name, :display_name, :note include MasterModel has_many :subjects validates :name, :format => {:with => /\A[0-9a-z][0-9a-z_\-]*[0-9a-z]\Z/} end # == Schema Information # # Table name: subject_heading_types # # id :integer not null, primary key # name :string(255) not null # display_name :text # note :text # position :integer # created_at :datetime not null # updated_at :datetime not null #
Version data entries
9 entries across 9 versions & 1 rubygems