Sha256: d1434e72b5ecea147657768ffb69b60a73538f3d729126f629f600ba03247d15
Contents?: true
Size: 641 Bytes
Versions: 45
Compression:
Stored size: 641 Bytes
Contents
# frozen_string_literal: true module Decidim module Elections # The data store for a trustee participatory space in the Decidim::Elections component. It has a reference # to a trustee (user), a polymorphic reference to participatory spaces and stores the status (considered) # for the trustee. class TrusteesParticipatorySpace < ApplicationRecord belongs_to :trustee, foreign_key: "decidim_elections_trustee_id", class_name: "Decidim::Elections::Trustee", inverse_of: :trustees_participatory_spaces belongs_to :participatory_space, foreign_type: "participatory_space_type", polymorphic: true end end end
Version data entries
45 entries across 45 versions & 1 rubygems