Sha256: bec76c6d51d1b606bf90e52336f0ad78fb972f8f69c1bb91fd67676ce7430346
Contents?: true
Size: 640 Bytes
Versions: 12
Compression:
Stored size: 640 Bytes
Contents
class CarrierType < ActiveRecord::Base include MasterModel default_scope { order("carrier_types.position") } has_many :manifestations enju_circulation_carrier_type_model if defined?(EnjuCirculation) def mods_type case name when 'volume' 'text' else # TODO: その他のタイプ 'software, multimedia' end end end # == Schema Information # # Table name: carrier_types # # id :integer not null, primary key # name :string(255) not null # display_name :text # note :text # position :integer # created_at :datetime # updated_at :datetime #
Version data entries
12 entries across 12 versions & 1 rubygems