Sha256: 9a3fb2ebf22d5c361f60dc965bd187448d8db2f364bc7891a9b9789d3b450698
Contents?: true
Size: 487 Bytes
Versions: 14
Compression:
Stored size: 487 Bytes
Contents
class IdentifierType < ActiveRecord::Base include MasterModel default_scope { order('identifier_types.position') } has_many :identifiers validates :name, format: { with: /\A[0-9a-z][0-9a-z_\-]*[0-9a-z]\Z/ } end # == Schema Information # # Table name: identifier_types # # id :integer not null, primary key # name :string(255) # display_name :text # note :text # position :integer # created_at :datetime # updated_at :datetime #
Version data entries
14 entries across 14 versions & 1 rubygems