• Exceptions are Ruby's way of dealing with unexpected events.If you've ever made a typo in your code, causing your program to crash with a message like SyntaxError or NoMethodError, then you've seen exceptions in action.

    Read more
  • It has become a tradition to release new Ruby versions on Christmas. And in this post, I want to cover some of the most interesting changes in the next version so you can keep up with the news. 

    Read more
  • In ruby you can find security levels for your code. The Ruby security level is represented by the $SAFE global variable. The value ranges from minimum value 0 to maximum value 4.

    Read more
  • I’ve been collecting the ruby tips for a long time. And now I’m ready to share them all. Hope you’ll find some interesting solutions, tips and sugars for ruby.

    Read more
  • Every so often I write an example in my specs that I'd like to run for several variations of input. As RSpec doens't support this workflow per se, I wrote the Respectable gem.Take for example the following case where we need to generate the full name for a user given a first and last name:

    Read more