Tag: gem

  • A hash map method that returns a hash

    I’ve just released another gem, this one extends Hash to contain another method called hmap. This solves a problem I face ofter: how to run a map in a hash that returns another hash, for example: {:a => 1, :b => 2, :c => 3} being converted into {:a => 2, :b => 3, :c…

  • The magic of Bundler

    Recently I reported a bug for Formtastic. Justin French, the author of Formtastic, created a branch and made a fix. He then asked me for my feedback. I look at the code and then decided to give it a try. In a pre-Bundler world that would have required this: Find a directory to play with…