In the previous article, we dived into ActiveSupport::StringInquirer class and superpowers it gives to String objects. After I had published that article I decided to take another look at the ActiveSupport module and to my surprise, I found something even more interesting, ActiveSupport::ArrayInquirer class.
Rails magic is a widespread term among developers working with Ruby on Rails application. Is it an overstatement? Well, it depends.
…and how to fix them 🙂