+ YouTube + Blog Simplify logic in the view, and refactor the test #BetterPlace
Commit e1e0bdb4 inadvertently added a 2nd version of the partial.
e1e0bdb4
The single query was producing a tremendously large ActiveRecord allocation. While this isn't nearly as cool as one query, it's still a significant reduction in SQL trips, and now has the bonus of only loading what is actually going to be displayed.