News
RubyConf 2022: Ruby’s Core Gem by Chris Seaton - YouTube
Ruby has a core library that is part of the interpreter and always available. It’s classes like String and Time. But what would it be like if we re-implemented the core library, writing it in Ruby itself, and made it available as a gem? Would it b...
Anyone Can Play Guitar (With Ruby) Video Released - Kevin Murphy
RubyCentral has released the videos from RubyConf and RubyConf Mini 2022 on their YouTube page. That includes my talk, “Anyone Can Play Guitar (With Ruby)”.My slides, proposal, code examples, and related blog posts are available to accompany the t...
ActiveRecord is reinventing Sequel | Janko's Blog
For those who don’t know, Sequel is an ORM very similar to ActiveRecord, in a way that it also implements the Active Record pattern. As of this writing it’s 9 years old. I’ve already written about some of the main advantages of Sequel over ActiveR...
What not to forget when implementing a pattern-matching in Ruby for custom objects
Nevertheless, in the wake of Ruby 3.2 upcoming release, between my daywork, family, and volunteering, I have some time now to slowly return to writing about Ruby. So you might want to follow me on Substack.Here is a small(ish) practical article ab...
Fantastic global methods in Ruby and where to find them
Many languages allow defining methods globally, which makes them available everywhere. Ruby is not different: you can define a method on the “top–level” and it behave like a global one. However, everything in Ruby is class, which means that these ...
Spin up your Hanami apps easily with Hanamismith | Hanami Mastery
I was always a fan of having an easy way to spin up scaffold rails applications with a single console command. For people like me, who test out every week a new idea, getting rid of all the manual work related to the repeatable configuration can m...