Sha256: 00790a6c201dc8eb1eaab7251e9507830d37405378e7a436d6c82117a0276aca
Contents?: true
Size: 458 Bytes
Versions: 14
Compression:
Stored size: 458 Bytes
Contents
class ClassificationType < ActiveRecord::Base include MasterModel has_many :classifications validates :name, format: { with: /\A[0-9a-z][0-9a-z_\-]*[0-9a-z]\Z/ } end # == Schema Information # # Table name: classification_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