Sha256: 846c4e50cf102510c766396aaf74dcbe3050d276f2b22cf9dc2ef60362058c24

Contents?: true

Size: 596 Bytes

Versions: 3

Compression:

Stored size: 596 Bytes

Contents

class ContentType < ApplicationRecord
  include MasterModel
  default_scope { order('content_types.position') }
  translates :display_name
  has_many :manifestations
end

# == Schema Information
#
# Table name: content_types
#
#  id                        :integer          not null, primary key
#  name                      :string           not null
#  display_name              :text
#  note                      :text
#  position                  :integer
#  created_at                :datetime
#  updated_at                :datetime
#  display_name_translations :jsonb            not null
#

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.4.0.rc.1 app/models/content_type.rb
enju_biblio-0.4.0.beta.2 app/models/content_type.rb
enju_biblio-0.4.0.beta.1 app/models/content_type.rb