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.14.4 app/models/decidim/user_group_membership.rb
decidim-core-0.14.3 app/models/decidim/user_group_membership.rb
decidim-core-0.14.2 app/models/decidim/user_group_membership.rb
decidim-core-0.14.1 app/models/decidim/user_group_membership.rb
decidim-core-0.13.1 app/models/decidim/user_group_membership.rb
decidim-core-0.12.2 app/models/decidim/user_group_membership.rb
decidim-core-0.13.0 app/models/decidim/user_group_membership.rb
decidim-core-0.12.1 app/models/decidim/user_group_membership.rb
decidim-core-0.13.0.pre1 app/models/decidim/user_group_membership.rb
decidim-core-0.12.0 app/models/decidim/user_group_membership.rb
decidim-core-0.11.2 app/models/decidim/user_group_membership.rb
decidim-core-0.12.0.pre app/models/decidim/user_group_membership.rb
decidim-core-0.11.1 app/models/decidim/user_group_membership.rb
decidim-core-0.11.0.pre1 app/models/decidim/user_group_membership.rb
decidim-core-0.10.1 app/models/decidim/user_group_membership.rb
decidim-core-0.10.0 app/models/decidim/user_group_membership.rb
decidim-core-0.9.3 app/models/decidim/user_group_membership.rb
decidim-core-0.9.2 app/models/decidim/user_group_membership.rb
decidim-core-0.9.1 app/models/decidim/user_group_membership.rb
decidim-core-0.9.0 app/models/decidim/user_group_membership.rb