Redis is one of the fastest and most feature-rich in-memory key value data stores.
How to pass multiple attributes to find_or_create_by in Rails 3 : the Ruby way
Ruby and Rails have many magic features like blocks/closures, duck typing/mix-ins/modules, method_missing, poetry mode.
One of the common tasks in programming web applications on Rails is finding a row in a table by several columns and creating a new row in case of row is missing.
Ruby metaprogramming and own custom attr_accessor
Ruby is a dynamic language, that’s why you won’t get compile time type warnings/errors as you get in languages like C#.
Ruby has a lot of metaprogramming features allowing you to create your own custom methods on the fly which can be used the same as att_accessor.