Sha256: 7f71db47b36e5fad2c338f71f249ea42b4dbbe255603362c5dad3f0f1708e1cf
Contents?: true
Size: 571 Bytes
Versions: 38
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true module Decidim module Elections # The data store for an Election Closure. class BulletinBoardClosure < ApplicationRecord belongs_to :election, foreign_key: "decidim_elections_election_id", class_name: "Decidim::Elections::Election", inverse_of: :bb_closure has_many :results, foreign_type: "closurable_type", class_name: "Decidim::Elections::Result", dependent: :destroy, as: :closurable end end end
Version data entries
38 entries across 38 versions & 1 rubygems