Tutorials

How to add a loading animation to your turbo frame with TailwindCSS | Arkency Blog
How to add a loading animation to your turbo frame with TailwindCSS Ever been working on a project and hit a snag? That’s what happened to me recently. I came across a turbo frame that was slow to load and didn’t show any signs of loading. The eas...

SupeRails 163 Instant page loads with Turbo 8 prefetch (aka InstantClick) - YouTube
Turbo 8 has been released! One of the core new features - hover-click preload acceleration (ala InstantClick).InstantClick makes an assumption about potential user behaviour: now whenever you hover on a link, it will fire a GET request to retrieve...




Flash Messages (notifications) in Rails Apps - DEV Community
The example use of flash messages above work perfectly fine when you are doing a redirect in the controller's action. Still today, after almost 20 years. But today, you can also render something without redirecting the page, using turbo (streams)....

Notes from migrating from Minitest to RSpec, with help from GitHub Copilot | Everyday Rails
After some discussion, my team at work decided to port our newest Ruby on Rails application’s test suite from the default Minitest to RSpec. I picked up the ticket not because I enjoy tedious work, but because I thought it’d be a good excuse to te...


Using dry-validation with Grape | On coding and tools
Grape is a popular web framework for Ruby, an alternative to Rails when writing an API-only application.dry-validation is a flexible library for implementing data validation logic, something one tends to need more as their project grows.When an AP...

Let's build a Hanami app - Honeybadger Developer Blog
Hanami is a full-stack Ruby web framework. Unlike Rails, which has many default assumptions about how an app should be built, Hanami promises developer freedom by not imposing too many such defaults.The framework is also blazingly fast due to its ...