Sha256: 0099f58479f4114102d6c165ecbcb0e138c53d84130424721c5eb716a5f3f078
Contents?: true
Size: 482 Bytes
Versions: 19
Compression:
Stored size: 482 Bytes
Contents
module Pulitzer class ArrangementStyle < Pulitzer::ApplicationRecord belongs_to :post_type_version has_many :partials validates :display_name, presence: true validates :view_file_name, presence: true def self.export_config {except: :id} end def clone_me clone_attrs = self.attributes.dup clone_attrs.delete 'id' clone_attrs.delete 'post_type_version_id' Pulitzer::ArrangementStyle.new(clone_attrs) end end end
Version data entries
19 entries across 19 versions & 1 rubygems