4 ms·
Stop using eager loading in your Rails application; use this instead
- evgeniydemin 4y agoIt’s a popular internet recommendation to use eager loading in Ruby on Rails applications to eliminate the N+1 query problem. It may seem like a blessing initially, but it has drawbacks. Gladly, there is a much better solution I want to share with you.