Sha256: 5c205f0e01949270649752ec7e0e75f0750eb00ed66fb7f191da3e1948b7f345

Contents?: true

Size: 423 Bytes

Versions: 14

Compression:

Stored size: 423 Bytes

Contents

class ContentType < ActiveRecord::Base
  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(255)      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

Version Path
enju_biblio-0.2.0.beta.2 app/models/content_type.rb
enju_biblio-0.2.0.beta.1 app/models/content_type.rb
enju_biblio-0.1.3 app/models/content_type.rb
enju_biblio-0.1.2 app/models/content_type.rb
enju_biblio-0.1.1 app/models/content_type.rb
enju_biblio-0.1.0 app/models/content_type.rb
enju_biblio-0.1.0.pre71 app/models/content_type.rb
enju_biblio-0.1.0.pre70 app/models/content_type.rb
enju_biblio-0.1.0.pre69 app/models/content_type.rb
enju_biblio-0.1.0.pre68 app/models/content_type.rb
enju_biblio-0.1.0.pre67 app/models/content_type.rb
enju_biblio-0.1.0.pre66 app/models/content_type.rb
enju_biblio-0.1.0.pre65 app/models/content_type.rb
enju_biblio-0.1.0.pre64 app/models/content_type.rb