Browsing...
Predownloading embedding models in Rails with Kamal
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.
Combining multiple sitemaps with a sitemap index
What if we need to combine multiple sitemaps for a main domain or subdomain? Here’s how to do it by creating sitemap index.
Setting up Cloudflare R2 buckets for Active Storage
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.
Adding button loader to Turbo-powered forms
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.
Auto-saving Rails forms with Turbo Streams
Here’s how to implement autosaving for inline input fields the Hotwire way.