The use of "includes(:association_name)" in rails is a widely accepted rails best practice to prevent n + 1 queries in your views. If you aren't sure what either of those mean check out the ruby on rails guide about eager loading associations. When you are retrieving a collection of…
ContinueAdded by Chris Sass on August 3, 2012 at 4:30pm — No Comments
© 2025 Created by Daniel Leuck.
Powered by