Progressive Web Apps are about to get a huge bump in functionality on iOS devices. Starting in iOS 16.4, we will be able to receive push notifications natively on our iOS devices from our Ruby on Rails PWA. In this episode, we explore creating push notifications from scratch without the need of a Google or Apple developer account.
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.