Learning Go as a Ruby Developer # 1: How Go Programs Actually Run
Recently I started learning Go, and one of the first things I noticed was how much it reminded me of C++. I haven't touched C++ since college, so Go g…
Tech news from the best sources
Recently I started learning Go, and one of the first things I noticed was how much it reminded me of C++. I haven't touched C++ since college, so Go g…
There's a comfortable thing people say when they see an AI agent query a code map. "Nice crutch. For now." The logic underneath it is reasonable. Codi…
Applications often need to react when something changes. When a user signs up, you might want to: Send a welcome email Create a user profile Log the a…
You want to add a new resource to your Rails app. You know the drill — rails generate , tweak the migration, add validations, write the controller act…
Beam Up is a command-line tool I wanted for some time. Its goal is to make deployments of static sites across various providers simpler from your mach…
Rails Performance: Lessons from Production — #6 By now the DB queries, caching, and background work are handled. But sometimes the SQL is genuinely fa…
Order matching has dropped in Shitcoin Swap in ~100 lines of Ruby . Most crypto exchanges reach for an existing matching engine or a Uniswap-style AMM…
It has been a while, but Astronoby just got a brand new release, and it's massive! Let me introduce you to all the new wonders you can reach with Astr…
I've started moving all of my content over to baweaver.com powered by Bridgetown under github.com/baweaver/portfolio. Why? I wanted more control of my…
Rails Performance: Lessons from Production — #3 The first two posts were about making queries cheaper — fewer N+1s, indexes, not dragging data back in…
Easy way that compress files in ruby is using zip lib. Zip :: File . open ( './compress.zip' , create: true ) do | zip | zip . get_output_stream ( "./…
&blk in a parameter list turns a block into a Proc; &proc at a call turns a Proc back into a block. 1. A block is syntax, not an object A bloc…
Today I was looking to improve the tooling around ERB templates in our project, get a linter at least. I started with erb_lint gem, but soon discovere…
Every Rails app that takes Stripe webhooks has some version of this controller: def create payload = request . body . read sig_header = request . env …
If you've ever investigated a slow Rails endpoint, chances are you've encountered one of the most common performance problems in the Rails ecosystem: …
Ask Claude this, today, with no setup: "What did user 4421 do in our app yesterday?" You will get an answer. It will be confident, specific, and compl…
I was importing a JSON file and it blew up. Not a subtle bug — the parser refused the whole thing. The cause was a single extra comma. After deleting …
Hey folks 👋 Welcome back. In Part 3 we built all five auth endpoints, added Rack-Attack rate limiting, hardened the HTTP headers with secure_headers ,…
Every blog post, product page, and profile in a Rails app deserves its own Open Graph image, the picture that shows up when someone shares the link on…
Originally published on Hashnode: https://railswithyashika.hashnode.dev/rails-performance-n-plus-one-queries When working with associations in Rails, …
RubyConf holds a special place in my heart. It was the very first tech conference I attended after receiving a scholarship fresh out of Flatiron Schoo…
I have a TRMNL on my desk. If you haven't seen one, it's a little e-ink display from trmnl.com that shows you whatever you tell it to: your calendar, …