Understand Rails async database queries by reimplementing them in 51 lines of simple
ActiveRecord async loading of db queries can be a very easy and valuable optimisation but mis-using them could turn ugly. Understanding how they actually work is a great way to make the most out of them in a safe way: https://radanskoric.com/articles/understand-rails-async-db-queries
Post a comment