Sha256: 4b98af0daebdae09aa9a3665ce8a76d495bbd766b8dd29100b96761064ae84aa

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

class ContentType < ActiveRecord::Base
  attr_accessible :name, :display_name, :note
  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         not null
#  updated_at   :datetime         not null
#

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre58 app/models/content_type.rb
enju_biblio-0.1.0.pre57 app/models/content_type.rb
enju_biblio-0.1.0.pre56 app/models/content_type.rb