Ask A Question

Notifications

You’re not receiving notifications from this thread.

Gem for making user groups

Rickwheeler1992 asked in Rails

I was wondering if there is a gem for making user groups in my project. Or do I have to learn the hard way how to make user groups.

Btw I’m a hobbiest not wanting to make a living. Just want to make fun web apps. I’m a novice right now

Reply

Well u can use Devise and Pundit to handle Usergroups.

Reply

Typically I just create a model called Group and a model called GroupUser that keeps track of which user is in which groups.

No gems for it that I know of since everyone tends to implement it differently.

Pundit is great for handling permissions and Devise is great for authentication pieces. The Group and GroupUser models will let you connect the two.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.