Introducing Pickpocket - Randomly pick an article from your Pocket

I’ve just published a gem called pick-pocket, which helps you empty your Pocket library by selecting a random article from your library.

Ruby 2.3 dig Method - Thoughts and Examples

Since Ruby 2.3 launched its new Hash#dig and Array#dig feature, it got my attention on how it would help “digging” unreliable objects. This incredible method makes you safely navigate through nested objects when dealing with third party APIs.

Ruby Superclass Mismatch, Structs and Unicorn

Recently, I have found an Unicorn deployment bug that raised my attention on how Ruby’s native Struct object is implemented and how different is using its declaration APIs.

JS Safe Navigation - Benchmark

I started this year thinking on Ruby’s 2.3.0 safe navigation operator and how interesting it is to finally get the Elvis operator on Ruby.

RVM - Install bundler after any use command

If you use RVM, it’s possible that you noticed that RVM no longer ships with bundler. It’s quite boring to repeatedly type gem install bundler every time that you installed a new Ruby or created a gemset (even if you just install bundler in a @global gemset).