Sha256: 5b9d6f8560b3986b66eb7d315e38d027a7a22899f363224ae5013455d7b494a1

Contents?: true

Size: 638 Bytes

Versions: 26

Compression:

Stored size: 638 Bytes

Contents

class Page < ApplicationRecord
  include Concerns::Taggable
  include Concerns::Parentable
  include Concerns::Visible
  include Concerns::Seo
  include Concerns::Deletable
  include Concerns::Draggable
  include Concerns::FlexibleContent
  include Concerns::Searchable

  include Concerns::Sortable
  sortable scope: [:parent_id]

  include Concerns::Translatable
  translatable_fields :title, :subtitle

  include Concerns::Cacheable
  cache_by :identifier

  has_many :navigation_items, dependent: :destroy

  validates :description, presence: true
  validates :identifier, uniqueness: { case_sensitive: false }, allow_blank: true
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
udongo-6.5.2 app/models/page.rb
udongo-6.5.1 app/models/page.rb
udongo-6.5.0 app/models/page.rb
udongo-6.4.1 app/models/page.rb
udongo-6.4.0 app/models/page.rb
udongo-6.3.2 app/models/page.rb
udongo-6.3.1 app/models/page.rb
udongo-6.3.0 app/models/page.rb
udongo-6.2.1 app/models/page.rb
udongo-6.2.0 app/models/page.rb
udongo-6.1.0 app/models/page.rb
udongo-6.0.0 app/models/page.rb
udongo-5.9.0 app/models/page.rb
udongo-5.8.0 app/models/page.rb
udongo-5.7.0 app/models/page.rb
udongo-5.6.0 app/models/page.rb
udongo-5.5.0 app/models/page.rb
udongo-5.4.0 app/models/page.rb
udongo-5.3.1 app/models/page.rb
udongo-5.3.0 app/models/page.rb