MRSK deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use MRSK to provision and deploy our Rails application to the Virtual Machines.
In this episode, we have a look at using the OpenAI API to create an AI Response to comments. Instead of simply using the API directly with Net::HTTP, we're also going to create an API wrapper around Net::HTTP so that we can simplify the responsibility of our OpenAI integration.
Middleman is a static site generator using all the shortcuts and tools in modern web development. In this episode, we look at creating a static site using TailwindCSS and one of the TailwindUI templates. We also take an interesting approach to keep the development experience close to one that we would expect in a Rails application.
Ruby on Rails 7.1 introduces Required Template Arguments w/ Default Values, or Strict Locals. This solves the issue of difficult to reason about dependencies & runtime compilations. In this episode, we look at how Strict Locals can improve the overall maintainability of our Rails partials.
The TailwindUI library provides static styled HTML examples, but this can be difficult to translate into a Rails application. In this episode, we take a look at one of the calendar examples and make it interactive with displaying days that have events as well as returning events on selected days.