News
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...
rb_gc_force_recycle is deprecated in Ruby 3.1 - Peter Zhu
It’s almost Christmas, and you know what that means! That’s right, Ruby 3.1 is around the corner. In Ruby 3.1, the public function in the Ruby C API called rb_gc_force_recycle will be deprecated (see ticket). Additionally, this function has been c...
Noteflakes: Extralite - a new Ruby gem for working with SQLite databases
In the last year I’ve been working a lot with SQLite databases. I started by using the popular sqlite3-ruby Ruby gem, but quickly noticed that for my usage there were a few things missing in the gem’s API. Being a tinkerer, and having had some exp...
Exploring dependency injection in Ruby - Remi Mercier
Lately, I’ve been interested in abstractions: why objects behave the way they do, how do we architecture our code so it’s open to change (without causing unnecessary headaches), to which class that specific behavior should belong? And during that ...