28 May '17, 10pm
Optimizing Rails' belongs_to association queries:
When I first started learning Rails, I leaned pretty heavily on Ruby’s Enumerable methods to form the queries I needed. This is OK when you’re just starting and arguably if you’re just trying to get a small project out the door. But, eventually you’ll find yourself in a situation where response time matters and getting good at optimizing queries becomes really important.