Introduction to Hashes in Ruby, and in Rails
One of the most fundamental and important types in the Ruby programming language is the Hash. It is a simple and flexible way to store structured values together, and Hashes are used all over the place in Rails application code. There’s not much to it…