Displaying 1 result from an estimated 1 matches for "collection_of_parti".
2006 Jan 17
6
Rails Best Practices Page
...o have kind of like a rails
"Best Practices" page that lists some of the better ways of handling
certain functions of rails (that are common in most apps) that are
both more elegant, and efficient.
For example a lot of people are unware of the :include part of a find,
or maybe even using collection_of_partials. maybe taking the 10-20
most common tasks in rails, and showing the way the most seasoned
rails developers are handling the same problems?
I find myself 2 weeks after coding part of a project always saying,
"Man i should have done it that way, i could have saved 10 lines of
code and its s...