Sha256: 34fe14a49e3cd5fa0c4f35572ce9762196f78b44ad08bc4f231f23ce548a1c8e
Contents?: true
Size: 465 Bytes
Versions: 14
Compression:
Stored size: 465 Bytes
Contents
module CoalescingPanda class Group < ActiveRecord::Base belongs_to :context, :polymorphic => true include SingleTablePolymorphic has_many :group_memberships, dependent: :destroy, foreign_key: :coalescing_panda_group_id, class_name: 'CoalescingPanda::GroupMembership', dependent: :destroy validates :group_category_id, presence: true validates :canvas_group_id, presence: true validates :coalescing_panda_user_id, presence: true end end
Version data entries
14 entries across 14 versions & 1 rubygems