Ridiculous Ruby

Ridiculous Ruby


Blabberings and random thoughts from a Rubae.

Clean Monkey Patching

Monkey patching in Ruby isn't always what it seems. Sometimes you're doing it the right way for the wrong reasons, other times you are doing it just flat out wrong. Hopefully, after reading this post you'll have a better idea what you're doing, and you'll be monkey patching the right…

Dave AllieDave Allie

Include vs Prepend

Include and prepend are extremely useful tools for adding and modifying logic in multiple places at once, or even just splitting a file into components. Let's have a look at what they're doing behind the scenes. In order to explain the differences, advantages, and disadvantages of include and prepend, there…

Dave AllieDave Allie