Sha256: 0f23040ded001b38c3ec000f136f5c030e065d5aa706524d04aa89167e3454c1
Contents?: true
Size: 419 Bytes
Versions: 16
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true module Decidim module Plans # A plan can accept requests to coauthor and contribute class PlanCollaboratorRequest < Plans::ApplicationRecord validates :plan, :user, presence: true belongs_to :plan, class_name: "Decidim::Plans::Plan", foreign_key: :decidim_plan_id belongs_to :user, class_name: "Decidim::User", foreign_key: :decidim_user_id end end end
Version data entries
16 entries across 16 versions & 1 rubygems