RSSAmplifier

Blog

Steve Polito Design

stevepolito.designRSS feed ↗10 posts

Latest posts

PII filtering for RubyLLM with Top Secret

Automatically filter sensitive information from your RubyLLM conversations before it reaches third-party providers.

Your chat bot needs a better rate limit strategy

Don't let one ambitious user trigger a denial of service.

How to design a join code system

Learn the ins and outs of building a game-based join code feature.

Introducing Top Secret

We’ve written about how to prevent logging sensitive information when making network requests, but that approach only works if you’re dealing with parameters.

Prevent logging sensitive information in Rails, and beyond

The Rails defaults are a good foundation, but it's still your responsibility to filter sensitive information from logs when using external APIs, services, and tools.

Faster feedback loops with Rails Runner

Don't waste one more second coding in the Rails console.

How to respect OpenAI’s rate limits in Rails

As it turns out, OpenAI's rate limits are a little more complicated than other APIs.

Build a (progressively enhanced) drawer component with Hotwire

You can get 90% of the way there with server-rendered templates and View Transitions.

Process slow network requests with Turbo and Active Model

Learn how to build a dynamic loading screen without writing a line of JavaScript.

Build a (better) search form in Rails with Active Model

Harness the power of Active Model to supercharge your search forms.