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

Version Path
decidim-elections-0.28.4 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.9 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.28.3 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.8 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.28.2 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.7 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.28.1 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.6 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.26.10 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.26.9 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.28.0 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.5 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.28.0.rc5 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.28.0.rc4 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.26.8 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.4 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.3 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.26.7 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.26.5 app/models/decidim/votings/ballot_style_question.rb
decidim-elections-0.27.2 app/models/decidim/votings/ballot_style_question.rb