Class: Alchemy::PageVersion
- Inherits:
-
BaseRecord
- Object
- ActiveRecord::Base
- BaseRecord
- Alchemy::PageVersion
- Includes:
- Publishable
- Defined in:
- app/models/alchemy/page_version.rb
Constant Summary collapse
- METADATA_ATTRIBUTES =
Metadata attributes that are versioned (moved from Page)
%w[ title meta_description meta_keywords ].freeze
Constants included from SearchableResource
SearchableResource::SEARCHABLE_COLUMN_TYPES
Instance Method Summary collapse
Methods included from Publishable
#already_public_for?, #public?, #publishable?, #scheduled?, #still_public_for?
Methods included from ConfigMissing
Methods included from SearchableResource
#ransackable_associations, #ransackable_attributes, #ransackable_scopes, #ransortable_attributes
Instance Method Details
#element_repository ⇒ Object
32 33 34 |
# File 'app/models/alchemy/page_version.rb', line 32 def element_repository ElementsRepository.new(elements) end |