Ask A Question

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. 🎉

Reply

Are you planning on moving away from Devise in JSP?

Reply

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.

Reply

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!

Reply

Great episode.

Reply

This episode is (again) more than excellent! And very useful of course.
See you at RailsWorld Chris.

Reply

Looking forward to meeting you Frank!

Reply

Wonderful

Reply

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

Reply

Question: How does defining helper methods as private methods (11:39) allow those methods to be accessible to views?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 77,200+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.