If you have been part of building an application that has lasted longer than a month then you've probably had some troubles as the project grows. Business logic requirements get more and more complicated. Features change direction. You occasionally "hack" something just to satisfy a release or an urgent bug fix, saying "I can refactor/clean this up this later..."
Then one day "later..." is now. New features are getting harder and harder to implement. Everything seems intricately…
ContinueAdded by Chris Sass on October 19, 2012 at 4:29pm — 1 Comment
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
© 2024 Created by Daniel Leuck. Powered by