Sha256: af24811a5a1184d6c28f98907e73e2895f0dccea6cfe1967e051bbf0a6f49e26

Contents?: true

Size: 503 Bytes

Versions: 45

Compression:

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

45 entries across 45 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/models/content_type.rb
enju_biblio-0.1.0.pre54 app/models/content_type.rb
enju_biblio-0.1.0.pre53 app/models/content_type.rb
enju_biblio-0.1.0.pre52 app/models/content_type.rb
enju_biblio-0.1.0.pre51 app/models/content_type.rb
enju_biblio-0.1.0.pre50 app/models/content_type.rb
enju_biblio-0.1.0.pre49 app/models/content_type.rb
enju_biblio-0.1.0.pre48 app/models/content_type.rb
enju_biblio-0.1.0.pre47 app/models/content_type.rb
enju_biblio-0.1.0.pre46 app/models/content_type.rb
enju_biblio-0.1.0.pre45 app/models/content_type.rb
enju_biblio-0.1.0.pre44 app/models/content_type.rb
enju_biblio-0.1.0.pre43 app/models/content_type.rb
enju_biblio-0.1.0.pre42 app/models/content_type.rb
enju_biblio-0.1.0.pre41 app/models/content_type.rb
enju_biblio-0.1.0.pre40 app/models/content_type.rb
enju_biblio-0.1.0.pre39 app/models/content_type.rb
enju_biblio-0.1.0.pre38 app/models/content_type.rb
enju_biblio-0.1.0.pre37 app/models/content_type.rb
enju_biblio-0.1.0.pre36 app/models/content_type.rb