Recently, I came across a piece of Ruby on Rails code that I rewrote and made 80x faster. Check out how I did it.