How to get users based on resource_type in rails rollify gem

后端 未结 0 1785
日久生厌
日久生厌 2021-02-09 05:36

I have a Company model and using Rollify gem I am adding :manager role to users in specific companies. Saying user.add_role :manager, CompanyName Now I

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