Skip to content
RubyInsights

Ruby, Rails & AI Blog

Exploring Ruby, web development, Rails, AI, backend engineering, and frontend architecture.

18 posts
AI with Ruby and Rails: A Practical Guide with RubyLLM
Artificial IntelligenceOct 13, 20269 min read

AI with Ruby and Rails: A Practical Guide with RubyLLM

Add summaries, structured data, tool calls and generated images to a Rails app with one gem, and avoid the traps that only show up in production: slow requests, silent refusals, prompt injection and specs that call the real API.

Wilbert Ribeiro (wilbertribeiro)
Read More
Share
Deploying a Rails 8 App to a VPS with Kamal 2: A Practical Guide
InfraOct 10, 202610 min read

Deploying a Rails 8 App to a VPS with Kamal 2: A Practical Guide

A start-to-finish walkthrough of shipping a Rails 8 app with Vite, Solid Queue and PostgreSQL to a single Ubuntu VPS using Kamal 2 and Docker Hub, including the errors you will probably hit and how to fix each one.

Wilbert Ribeiro (wilbertribeiro)
Read More
Share
Your SPA Shares as a Blank Card: Fixing Link Previews with a Lambda in Front of Amplify
Web DevelopmentOct 9, 202611 min read

Your SPA Shares as a Blank Card: Fixing Link Previews with a Lambda in Front of Amplify

Link preview crawlers don't run JavaScript, so every route of a static SPA shares the same generic card. Here's how a Lambda in front of AWS Amplify injects per-page Open Graph tags, the six bugs that kept it from working, and the lean version that does.

Wilbert Ribeiro (wilbertribeiro)
Read More
Share