Hello and welcome to the 51st issue of Ruby Brief. We’ve got more links than usual – looks like December 2017 was a very productive month for the Ruby community. Read on!
Engineers from WeWork have had some head scratching over Net::HTTP timeouts. Apparently, its weird behaviour confused even the most experienced developers in the company. Read more
A very weird publication, nevertheless worth mentioning. Learn how to use blockchain and program your own cryptocurrency in Ruby. The book is full of code examples with comments. Read more
Nil follows you around every time you do something only slightly wrong. Josh Saint Jacque knows the pain and presents five nice solutions to stop your hair from going white over those pesky little bugs. Read more
More on bugs! In this post, a Netguru developer, Wiktor Czajkowski, unveils the magic of git and binary search algorithms to find the place where you (or someone else you can blame) left a horrible mistake and were hoping it would never be discovered. Read more
“Briefly, the Strategy pattern is most useful when you want to provide multiple ways of processing a request, without hard-coding knowledge about those different methods into the object that handles the request.” An extensive piece on Warden and Devise by Alex Taylor from Unbounce. Read more
Jesus Castello from Ruby Guides shares few tips to speed up your work with useful, but not widely known methods in Ruby language. Read more
Many Ruby developers are aware of Crystal. It’s similar to Ruby, but Crystal is a compiled language. There are more advantages than the speed itself. Mateusz Górniak explains all the best features of Crystal. Read more
5-10% performance improvement, branch coverage support, new Hash methods and more.