Notifications
You’re not receiving notifications from this thread.
Rails 7.1 Authentication From Scratch Discussion
Authentication got a TON of great improvements in Rails 7.1 with authenticate_by
, generates_token_for
, normalizes
, etc. Super duper excited for these things and they should clean up a lot of code. 🎉
Are you planning on moving away from Devise in JSP?
Probably at some point in the long-term. It's a huge benefit to have everything handled in Rails instead of Devise's mixture of Rails + Rack / warden that can be harder to customize.
I totally agree! Rails 7.1's authentication updates are a game-changer. authenticate_by is a lifesaver for cleaner code, and generates_token_for makes things smoother. Can't wait to dive in!
This episode is (again) more than excellent! And very useful of course.
See you at RailsWorld Chris.
great work, thanks!
Will there be a follow up episode on email confirmations(you actually started it on user model), remember me function, or auth via github/gmail etc following these methods? Looking forward to have them. cheers
Question: How does defining helper methods as private methods (11:39) allow those methods to be accessible to views?