Sha256: d668c25beb2c653b4ccb7483bc6cd10cc42e1586f30668660eca4b3709f254fd
Contents?: true
Size: 396 Bytes
Versions: 9
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true module Motor class Form < ::Motor::ApplicationRecord audited belongs_to :author, polymorphic: true, optional: true has_many :taggable_tags, as: :taggable, dependent: :destroy has_many :tags, through: :taggable_tags, class_name: 'Motor::Tag' serialize :preferences, HashSerializer scope :active, -> { where(deleted_at: nil) } end end
Version data entries
9 entries across 9 versions & 1 rubygems