Sha256: dc644c2da3be33bce180557768d22b8c4fe810580b754cde4482554300dae64e
Contents?: true
Size: 450 Bytes
Versions: 14
Compression:
Stored size: 450 Bytes
Contents
class SubjectHeadingType < ActiveRecord::Base 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 not null # display_name :text # note :text # position :integer # created_at :datetime # updated_at :datetime #
Version data entries
14 entries across 14 versions & 1 rubygems