Sha256: 77ab9facda1e3ea93dc481d3cc9e75c6c42e3695f99059b1fc1609122fe29f57

Contents?: true

Size: 484 Bytes

Versions: 44

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Elections
    # The data store for an Election-Trustee relation in the Decidim::Elections component.
    class ElectionsTrustee < ApplicationRecord
      belongs_to :election, foreign_key: "decidim_elections_election_id", class_name: "Decidim::Elections::Election", optional: true
      belongs_to :trustee, foreign_key: "decidim_elections_trustee_id", class_name: "Decidim::Elections::Trustee", optional: true
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

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