In this episode, we look at setting up a Rails 7 API (only) application and create our own authentication solution. We'll also write the tests around the different controller endpoints that we create to make sure that we have good test coverage and functionality.
A class should only have a single responsibility, that is, only changes to one part of the software's specification should be able to affect the specification of the class.
Building on the previous episode, we look at refactoring our background job into a more maintainable object and provide context to the LLM so that we can chain together responses for a more conversational experience.
Parsing through the Ruby on Rails CHANGELOG can reveal some interesting features and changes in the framework. In this episode, we look at one of those changes around inserting records into our database.