Get the latest tech news
Things to avoid in Ruby
We'll dive into five common Ruby mistakes and see how we can combat them.
In this post, we'll explore five faux pas often seen in Ruby code and learn how to turn these idiosyncrasies into idioms. Verbosity Long expressions to detect nil Overuse of self Collecting results in temporary variables Sorting and filtering in memory I highly recommend reading the documentation for Ruby's core classes and modules, including Array, Hash, and Enumerable.
Or read this on Hacker News