Sha256: 8737c4ce9b06eec47de897d7da31988a2a122e10af2993e9aa91637664c31993
Contents?: true
Size: 401 Bytes
Versions: 12
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true module Lcms module Engine class DocumentPart < ApplicationRecord belongs_to :renderer, polymorphic: true enum context_type: { default: 0, gdoc: 1 } default_scope { active } scope :active, -> { where(active: true) } scope :general, -> { where(optional: false) } scope :optional, -> { where(optional: true) } end end end
Version data entries
12 entries across 12 versions & 1 rubygems