Sha256: c165a8e8b8ffdeaba8384c5317bf5c74687b2bcc604b678ee3f4e6e96f1b68e8
Contents?: true
Size: 470 Bytes
Versions: 38
Compression:
Stored size: 470 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings class BallotStyleQuestion < ApplicationRecord # This is a join table between Decidim::Votings::BallotStyle and Decidim::Elections::Question belongs_to :ballot_style, class_name: "Decidim::Votings::BallotStyle", foreign_key: :decidim_votings_ballot_style_id belongs_to :question, class_name: "Decidim::Elections::Question", foreign_key: :decidim_elections_question_id end end end
Version data entries
38 entries across 38 versions & 1 rubygems