Sha256: c8c436f615f85dab6e203d28dc6620766c8135ba6e038db69c06b6c39a32bd19

Contents?: true

Size: 368 Bytes

Versions: 28

Compression:

Stored size: 368 Bytes

Contents

require "prerendered_entity"

class RenderedManual
  include Mongoid::Document
  include Mongoid::Timestamps
  extend PrerenderedEntity

  field :manual_id, type: String
  field :slug, type: String
  field :title, type: String
  field :summary, type: String
  field :section_groups, type: Array

  index({ slug: 1 }, unique: true)

  validates_uniqueness_of :slug
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
govuk_content_models-47.0.0 app/models/rendered_manual.rb
govuk_content_models-46.0.1 app/models/rendered_manual.rb
govuk_content_models-46.0.0 app/models/rendered_manual.rb
govuk_content_models-45.0.0 app/models/rendered_manual.rb
govuk_content_models-44.4.0 app/models/rendered_manual.rb
govuk_content_models-44.3.0 app/models/rendered_manual.rb
govuk_content_models-44.2.1 app/models/rendered_manual.rb
govuk_content_models-44.2.0 app/models/rendered_manual.rb
govuk_content_models-44.1.0 app/models/rendered_manual.rb
govuk_content_models-44.0.1 app/models/rendered_manual.rb
govuk_content_models-44.0.0 app/models/rendered_manual.rb
govuk_content_models-43.2.0 app/models/rendered_manual.rb
govuk_content_models-43.1.0 app/models/rendered_manual.rb
govuk_content_models-43.0.1 app/models/rendered_manual.rb
govuk_content_models-43.0.0 app/models/rendered_manual.rb
govuk_content_models-42.1.0 app/models/rendered_manual.rb
govuk_content_models-42.0.1 app/models/rendered_manual.rb
govuk_content_models-42.0.0 app/models/rendered_manual.rb
govuk_content_models-41.1.1 app/models/rendered_manual.rb
govuk_content_models-41.1.0 app/models/rendered_manual.rb