How to improve performance in Ruby on Rails using the includes method. - YouTube

12-Dec-2021 972
Example Project: https://github.com/markv12/rails_incl...Going over everything I've learned trying to improve the performance of my Ruby on Rails apps using the includes method. Executing too many SQL queries is the cause of many Rails performance problems. Includes can help, but it can sometimes be hard to tell why includes isn't working. The Rails SQL cache can sometimes hide what's actually going on and Rails features like scopes and the order query method can make includes not work as expected. I use the Rack mini profiler to diagnose unnecessary SQL queries and discuss ways to get rid of them.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle