TechHui

Hawaiʻi's Technology Community

Chris Sass's Blog Posts Tagged 'rails' (2)

Growing Pains in Your Rails Applicaiton

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…

Continue

Added by Chris Sass on October 19, 2012 at 4:29pm — 1 Comment

Being mindful of your "includes"

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…

Continue

Added by Chris Sass on August 3, 2012 at 4:30pm — No Comments

Sponsors

web design, web development, localization

© 2024   Created by Daniel Leuck.   Powered by

Badges  |  Report an Issue  |  Terms of Service