#62 Live session: User Roles: Different approaches
21/01/2022
Free
A recording of a workshop I gave.
Different approaches to setting user roles
Topics covered:
- post.user_id
- admin:boolean
- roles:integer enum
- roles json hash
- rolify
- rolify - resourcify Posts
Git repo: https://github.com/corsego/62-workshop-user-roles
Resources:
- roles json hash: https://blog.corsego.com/user-roles-one-field
- rolify 1: https://blog.corsego.com/rolify-edit-roles
- rolify 2: https://blog.corsego.com/rolify-scopes
0
Sign in to join the conversation
Recommended based on what you are watching now
02:07
#140 Click outside to close Menu with Stimulus-Use
12/08/2023
Free
19:11
#1 Amanda Perino from Rails Foundation about Rails World
19/05/2023
Free
10:58
#30 Social log in with Github (omniauth 2.0)
25/05/2021
Free
22:24
#50 ActiveRecord Enum - when and why to use enums?
24/08/2021
Free