Sha256: c57a7aa5b8d509da49175e3e54f80ee8e90bbcf019fc36be1dbd739f71b91f8e

Contents?: true

Size: 504 Bytes

Versions: 4

Compression:

Stored size: 504 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

4 entries across 4 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre62 app/models/content_type.rb
enju_biblio-0.1.0.pre61 app/models/content_type.rb
enju_biblio-0.1.0.pre60 app/models/content_type.rb
enju_biblio-0.1.0.pre59 app/models/content_type.rb