Hi, my name is
Sam Lee.
I create things for the web.
I'm a full-stack developer based in Phoenix, Arizona with over 3 years of professional experience, currently working as a Software Engineer at StrongMind. At StrongMind, I primarily build with Ruby on Rails, PostgreSQL, SQL, JavaScript, and AWS, while keeping things running smoothly using Datadog, Sentry, and CloudWatch. I'm also proficient in React and Next.js.Latest Posts
View All Posts →When Your SDK Does Too Much (And Not Enough)
Refactored a shared API client gem to separate payload signing from HTTP transport, added Faraday with retry and rate-limiting, and built backward compatibility into the breaking change so existing callers keep working during migration.
When Turbo Stream Replace Kills Your Search Input
Every keystroke in a search bar was resetting the cursor because one big Turbo Stream replace was swapping the entire container — including the input. Splitting the stream into targeted update and replace actions for metrics and table separately fixed it.
The Unbounded Query That Took Down an Endpoint
An endpoint was loading every row in a table because the controller used Model.all instead of scoping by the profile parameter already in the URL. Scoping the query, eager loading, and handling orphaned attachments and a Turbo Frame mismatch brought it from 228 queries and 504 timeouts to 30 queries and fast loads.
Built by Sam Lee with
♥