Change the repository type filter
All
Repositories list
158 repositories
481-kamal-kitchen-sink
Public477-kamal-2
Public- In this episode, we will upload a CSV file but need to pass it into a background job. This can prove to be difficult based on the hosting infrastructure so we'll explore some mechanisms to work around them. We'll also look to optimize Solid Queue to handle the large number of jobs.
459-hotwire-combobox
Public436-turbo-8
Public431-hotkeys
Public427-detect-spam-with-ai
PublicWe can create a small python service that uses a Large Language Model (LLM) to detect if a message is spam or not. Using this service, we can tie it into our Rails application so that any comment created will be evaluated for being spam or not. We explore a few different routes on handling any messages flagged as spam.417-system-tests
Publictemplate
Public413-pdf-reader
Public- In a previous episode, we had created a custom ActionCable channel to assist in broadcasting updates from a background job. With the introduction of Turbo, we can simplify this process as we look at a few different approaches in displaying a progress bar with real time updates from background jobs.
- In this episode, we look at creating an audio transcription service which allows files uploaded from Active Storage to be transcribed with Artificial Intelligence. However, there are a lot of considerations around the approach from both a performance and thread safety perspectives.
391-deploying-with-mrsk
Public- Without using any gems, we look at tracking changes within Action Text. It seems like a simple thing, but challenges arise through several layers of abstraction due to the flexibility that Action Text provides.
- Add unobtrusive maps to your application using StimulusJS to tie in Google Maps Javascript API and Places API.
- Set up Action Text with client side Syntax Highlighting using Highlight.js.
227-emojis-from-scratch
Public- In this episode we create a Like/Unlike system where users can like posts and use Global ID to obfuscate IDs.
- Using Rails UJS, we create an interactive row editing solution without using any kind of Javascript frameworks.
042-fullcalendar
Public- With the release of Turbo 7.2, we gained the ability to create custom actions in Turbo. This allows us to trigger functions on the client side that would have been difficult or cumbersome to do in the past. In this episode, we look at setting up custom actions and how to use them.
378-stimulus-outlets-api
PublicOutlets 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.369-hotwire-introduction
PublicHotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them.