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
Added by L.P. "NEENZ" FALEAFINE on January 12, 2010 at 8:18am — No Comments
2024
2021
2020
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
1972
© 2024 Created by Daniel Leuck. Powered by