News

Single attribute in-place editing with Rails and Turbo
Turbo can largely simplify our front-end needs to achieve a single-page application feel. If you have ever wondered how to do a single attribute in-place update with Turbo, this post is for you.I’ll assume you have Turbo (with turbo-rails gem) ins...



How a routine gem update ended up creating $73k worth of subscriptions
On November 5, 2021 (a Friday of course), we've deployed innocent-looking gem updates. Minor versions of Ruby on Rails, Ruby Sentry client, Ruby Slack client, http libraries, Puma, Devise, OmniAuth Ruby client, Mongoid, and a few test gems.However...


What machine learning can learn from Ruby On Rails
I wrote my first end-to-end functioning web application using Ruby on Rails in a class at MIT (6.170) in 2013. There were things that Rails automatically handled for me that I didn’t even realize were hard to do. Running rails new just set up a co...

Why I don't buy "duplication is cheaper than the wrong abstraction" - Code with Jason
“Duplication is cheaper than the wrong abstraction” is a saying I often hear repeated in the Rails community. I don’t really feel like the expression makes complete sense. I fear that it may lead developers to make poor decisions. Here’s what I ta...

How Ruby and Web Components Can Work Together | Fullstack Ruby
As a follow up to my recent podcast all about componentized view architecture, I thought it would be worthwhile to share some real-world code examples from various projects I’ve worked on so you can get a sense of what I’m talking about.As you’ll ...

Building, Testing, and Deploying Google Cloud Functions With Ruby
Serverless Functions are a new programming paradigm of developing and deploying cloud services. In a serverless world, we abstract the provisioning, maintenance, and scaling of our backend services to the cloud provider. This substantially improve...

What we can learn from "_why" the long lost open source developer
Code might not last forever, but _why proves you can have an impact that outlives your work.why's (poignant) Guide to Ruby is different. It's chock-full of comic strips, strange digressions, and seemingly off-topic sidebars. Cartoon foxes offer pe...