It’s Christmas night, the air is cool and the stars are unseen through the heavy cloud. Children have left tablet and a nip of whisky out for Santa, and carrots out for the reindeer. One of the children wakes up! Rushing out of bed, she heads to the living room, curious to see... (read more)
Rescuing specific exceptions excessively can cause problems, but if you’ve ever had need to rescue within a
do/end block, you might have found yourself using wordy syntax. Ruby 2.5 has a solution for you.
yield_self is coming to Ruby 2.5. What is this long requested feature, and how does it work?
Let’s talk a wee bit about Ruby 2.5. This starts a week of looking at upcoming features in the language. (read more)
When can a single array instance in Ruby both be empty and contain items simultaneously? Read on, and find out! (read more)
There wasn’t supposed to be anything particularly unusual about today. It started out as a typically drizzly Edinburgh summer morning, grey clouds hanging low above the castle, with just a hopeful glimpse of blue in the distance offering the prospect of a little respite later in the day. It wasn’t until I arrived at my desk and checked our Slack channels that I first heard the shocking news of the passing over the weekend of Graeme Mathieson. Graeme’s passing is a truly sad and tragic loss that will be felt far from his Plymouth home, reaching across the world of the web development community. (read more)
I’ve been learning to love the ActiveRecord query interface over the past few months. Whilst I find it infuriating when I’m battling it to do what I actually want, I also relish the power and convenience it gives me for many simple queries. (read more)
When we first launched FreeAgent, it ran on Ruby 1.8.6 MRI (and Rails 1.2!). We graduated to 1.8.7 REE when that became popular, then in the summer of 2011 we upgraded to Ruby 1.9.3. We’ve been running on that version (1.9.3-p194 to be specific) ever since. It has served us well, but performa... (read more)