Turbo comes with turbo:before-stream-render but unfortunately doesn’t ship with the equivalent turbo:after-stream-render. Here’s how to run JavaScript after the stream renders.| Notes to self
How to connect to a container on a server managed by Kamal and run an interactive session?| Notes to self
If you are building AI-powered applications in Ruby on Rails, you might have come across Informers or Transformers.rb gems for transformer inference. Here’s how to improve the production deployment of their models in Kamal setups.| Notes to self
What if we need to combine multiple sitemaps for a main domain or subdomain? Here’s how to do it by creating sitemap index.| Notes to self
Rails comes with a built-in support for saving and uploading files to S3 and S3-compatible storage services in Active Storage. Here’s how to set up Cloudflare R2.| Notes to self
Turbo is a great way to build user interfaces, but most Turbo forms have to wait for the server response. Here’s how I am adding a small loading spinner to the submit buttons to improve the UX.| Notes to self
Here’s how to implement autosaving for inline input fields the Hotwire way.| Notes to self
The Ruby on Rails template Business Class gets a whole new edition. Rails 8, new licencing, and improved CRUD generator.| Notes to self
Rails 8 comes with a built-in authentication generator. However, it doesn’t yet come with registrations. Here’s how to add them.| Notes to self
Switching from Docker Desktop to OrbStack and stuck at Docker daemon error? Here’s how to fix it| Notes to self
Here’s one way of a cloud-independent deployment of Rails, Sidekiq, PostgreSQL, and Redis on single virtual server with Kamal.| Notes to self