Sha256: 9609da893335415f1d43f1526f31f39d26135407376c08a299ad88d5c4d2c28e
Contents?: true
Size: 449 Bytes
Versions: 3
Compression:
Stored size: 449 Bytes
Contents
class SubjectHeadingType < ApplicationRecord 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enju_subject-0.3.4 | app/models/subject_heading_type.rb |
enju_subject-0.3.3 | app/models/subject_heading_type.rb |
enju_subject-0.4.0.beta.1 | app/models/subject_heading_type.rb |