Bhumi

@bhumi1102.bsky.social

Building with ruby, rails, hotwire. Writing. Teaching. It's more fun to understand things ✨ Programming newsletter: http://buttondown.email/bhumi theleafnode.com

Wrote about #ruby Ractors and how they work + why they exist. This is the next post in the Ruby concurrency/performance series. I'm sending these as part of my newsletter. A beginner friendly primer (defining process, thread, concurrency, parallelism, Ruby GVL) theleafnode.com/ruby-web-ser...

Ruby Web Servers and Concurrency

What does a web server actually do? I imagine all of us at least half understand it, let’s explore the remaining half! In a previous post, I covered how rack-based web servers like Puma pass an incomi...

theleafnode.com

This year I've been increasingly imagining AI tools as the 'end-user' as I update the remaining Rails guides. Had no inkling of this reality when we started in January 2024 though.

Bild

All of the rails commands (and their aliases): aliases = { "g" => "generate", "d" => "destroy", "c" => "console", "s" => "server", "db" => "dbconsole", "r" => "runner", "t" => "test" } Came across this while rewriting the Rails guide for Rails Initialization Process:

Bhumi@bhumi1102.bsky.social · 2y ago

Do you know about the `bin/rails runner` command? It executes any Ruby code inside a fully initialized Rails environment, without having to start a rails console.

Hi 👋 I'm going to start using this place more. If we know each other from the other place, please react to this post, so I can follow you. And please repost for reach. Thanks!

Do you know about the `bin/rails runner` command? It executes any Ruby code inside a fully initialized Rails environment, without having to start a rails console.

Bild