Using sub-queries to avoid multiple DB requests in Rails

Apr 12
2007 08:12 (Development, MySQL, Ruby on Rails) · Русский (7,734 views)

When I worked on Best Tech Videos with Alexey Kovyrin, we faced a problem of filtering videos by category with selecting posts categories in the same query. It was easy to solve the problem, but there is one query optimization trick exists.

Read the rest of entry »

 
Copyright © 2005 - 2008, Dmytro Shteflyuk