Sha256: 14b0cbed2d17fdb74514265f7434e129ea77602d15d611f162eb9ba1e83c537e

Contents?: true

Size: 341 Bytes

Versions: 61

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # A UserGroupMembership associate user with user groups
  class UserGroupMembership < ApplicationRecord
    belongs_to :user, class_name: "Decidim::User", foreign_key: :decidim_user_id
    belongs_to :user_group, class_name: "Decidim::UserGroup", foreign_key: :decidim_user_group_id
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
decidim-core-0.8.4 app/models/decidim/user_group_membership.rb
decidim-core-0.8.3 app/models/decidim/user_group_membership.rb
decidim-core-0.8.2 app/models/decidim/user_group_membership.rb
decidim-core-0.8.1 app/models/decidim/user_group_membership.rb
decidim-core-0.8.0 app/models/decidim/user_group_membership.rb
decidim-core-0.7.4 app/models/decidim/user_group_membership.rb
decidim-core-0.7.3 app/models/decidim/user_group_membership.rb
decidim-core-0.7.2 app/models/decidim/user_group_membership.rb
decidim-core-0.7.1 app/models/decidim/user_group_membership.rb
decidim-core-0.7.0 app/models/decidim/user_group_membership.rb
decidim-core-0.6.8 app/models/decidim/user_group_membership.rb
decidim-0.6.8 decidim-core/app/models/decidim/user_group_membership.rb
decidim-core-0.6.7 app/models/decidim/user_group_membership.rb
decidim-0.6.7 decidim-core/app/models/decidim/user_group_membership.rb
decidim-core-0.6.6 app/models/decidim/user_group_membership.rb
decidim-0.6.6 decidim-core/app/models/decidim/user_group_membership.rb
decidim-core-0.6.5 app/models/decidim/user_group_membership.rb
decidim-0.6.5 decidim-core/app/models/decidim/user_group_membership.rb
decidim-core-0.6.4 app/models/decidim/user_group_membership.rb
decidim-0.6.4 decidim-core/app/models/decidim/user_group_membership.rb