Tag: hash
- Ruby Gems Tip: Check Your Version
Programming 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 JSON
Programming 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 items
Programming While working in Ruby, I often find myself trying to get a count of the number of times each item appears in an array.