Open trvslhlt opened 3 years ago
This tutorial describes how to introduce a User model and implement authentication in rails: https://medium.com/@wintermeyer/authentication-from-scratch-with-rails-5-2-92d8676f6836
This post covers a similar approach but also mentions helper_method
, before_action
, and skip_before_action
: https://levelup.gitconnected.com/simple-authentication-guide-with-ruby-on-rails-16a6255f0be8
I would follow the second tutorial. Seems like a fine place to start.
We want users and after that we want to authenticate them.