Ruby on Rails #62 Live session: User Roles: Different approaches

21/01/2022 (over 2 years ago)
·

A recording of a workshop I gave.

Different approaches to setting user roles

Topics covered:

  1. post.user_id
  2. admin:boolean
  3. roles:integer enum
  4. roles json hash
  5. rolify
  6. rolify - resourcify Posts

Git repo: https://github.com/corsego/62-workshop-user-roles

Resources:


0
Sign in to join the conversation