Complex ability on association using CanCanCan

后端 未结 0 826
别那么骄傲
别那么骄傲 2021-01-20 16:39

I have 3 models in a many to many relationship:

class User < ApplicationRecord
  has_many :participations
  has_many :attended_events, through: :participat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题