Sometimes the long-expected solution comes when you already desperate. And nothing can be better than this enlightenment moment! Eureka! And you feel supreme, and smart, and successful again! p.s. Don’t forget that the solution doesn’t come itself without the knowledge base you prepared for it to come. If you are a Rubyist, check Ruby best practices!