In Rails 7.1, we're going to get a new feature that will allow us to generate tokens for attributes. With generates_token_for, a token can embed data from a record. When using the token to fetch the record, the data from the token and the data from the record will be compared.
Outlets let you reference Stimulus controller instances and their controller element from within another Stimulus Controller by using CSS selectors. In this episode, we look at a simple example and then refactoring some older code where we used some workarounds to communicate with other stimulus controllers.
Magic Links is a passwordless authentication method where you receive a emailed link to proceed with signing in. In this episode, we look at swapping out a lot of the core functionalities of Devise with Magic Links as well as alternatives for using this methodology without Devise.