Sha256: 73dd041676e469230bde5107f74f7963f8447a5137966c6841fef09b637b2b73
Contents?: true
Size: 312 Bytes
Versions: 55
Compression:
Stored size: 312 Bytes
Contents
module Pulitzer class PostTypeContentElementType < ActiveRecord::Base belongs_to :post_type belongs_to :content_element_type has_one :content_element delegate :type, :image_type?, to: :content_element_type default_scope { order(id: :asc) } validates :label, presence: true end end
Version data entries
55 entries across 55 versions & 1 rubygems