Tag: hash

  • Ruby Gems Tip: Check Your VersionProgramming

    Quick ruby gems tip: If you are having issues with a gem (and it seems like the issue has been resolved in the github repo), double check your gem version.

  • Convert a Ruby Hash into valid JSONProgramming

    This post is about how to get a valid JSON (JavaScript Object Notation) snippet from a Ruby Hash. In the world of Ruby, Ruby loves hashes.

  • How to count Ruby Array itemsProgramming

    While working in Ruby, I often find myself trying to get a count of the number of times each item appears in an array.