Sha256: a531a4c5b6e43ab0ed7e09195f196abcdf0080f91bc02c22fbd2cbea69e9fe55

Contents?: true

Size: 422 Bytes

Versions: 7

Compression:

Stored size: 422 Bytes

Contents

class ContentType < ApplicationRecord
  include MasterModel
  default_scope { order('content_types.position') }
  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
#

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_biblio-0.3.9 app/models/content_type.rb
enju_biblio-0.3.8 app/models/content_type.rb
enju_biblio-0.3.7 app/models/content_type.rb
enju_biblio-0.3.6 app/models/content_type.rb
enju_biblio-0.3.5 app/models/content_type.rb
enju_biblio-0.3.4 app/models/content_type.rb
enju_biblio-0.3.3 app/models/content_type.rb