|
|
Skill |
▢ |
▢ |
Uses helpers/concerns/models to reduce logic in controllers |
▢ |
▢ |
Uses Devise & Pundit gems properly to authenticate and authorize resources |
▢ |
▢ |
Removes unused routes and controller actions generated by scaffolding |
▢ |
▢ |
Prefers resource-style (`resources :posts`) routes over custom (`get '/posts/:id'`) routes |
▢ |
▢ |
Prefers main 7 CRUD restful actions over custom (member/collection) actions |
▢ |
▢ |
Uses hyphens instead of underscores for multi-word routes |
▢ |
▢ |
Groups admin-only routes under a namespace |
▢ |
▢ |
Uses before_filters to reduce code duplication |