Sending out emails is an important for of communication in our Rails applications. In this episode, we look at creating a local smtp relay with a web frontend to view the emails sent from our Rails application.
Fly, AWS App Runner, Render and Heroku are great choices for Platform as a Service solutions, but there's Digital Ocean's App Platform. In this episode we'll look at deploying a Rails 7.1 application to this Digital Ocean PaaS.
As an application grows in popularity and usage you'll need to scale the application to support your new users and their data. One way in which your application may need to scale is on the database level. In this episode, we look at reading from a replica database while writing to a primary database. We also look at structuring our application top support multiple databases; each containing their own schema.
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.