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