Ruby

9 articles about ruby - lessons from building and scaling real software.

How to Fix LLM Date and Time Issues in Production

LLMs don't have access to the current date, causing issues in time-based analysis. Here's how to fix date and time handling in production LLM systems with explicit context.

How Buoy Software is Redefining Rails Development with ViewComponents

Discover how Buoy Software improved their Rails app by transitioning from React and GraphQL to ViewComponents. Learn about performance gains and simplified development.

Acceptance Tests with Subdomains

How to use subdomains in your feature specs.

Take Control of Your HTTP Caching in Rails

Get more control over HTTP caching in Rails.

Introduction to Conditional HTTP Caching with Rails

Learn how to implement HTTP conditional caching in Rails using fresh_when.

Scaling JSON APIs in Rails using ActiveModel::Serializers, Key-Based Caching, and Rack::Cache

Learn proven strategies for scaling JSON APIs in Rails applications. Performance optimization techniques using ActiveModel::Serializers, key-based caching, and Rack::Cache with real-world examples.

Simple Sinatra Service Proxy

Use Sinatra to rapidly build a proxy for a service when you can’t make cross-origin AJAX requests in development.

Using Uploadify with Rails 3 - Part 2 - Controller Example

A follow-up post on using Uploadify with Rails 3, focusing on setting up the controller to work with file uploads. This part covers handling content …

Using Uploadify with Rails 3

I recently worked on a couple of Rails projects which both implemented the ability to upload photos to the server. One of these projects required the …