Many associations for reading the data from large tables will always kill the performance of the application...
If there are too many joins between tables I do prefer flat table read only data table rather on the transactional database.. Simple SQL Query for the same... select * from courses c, lessons l, topics t where c.id = l.class_id AND l.id = t.topic_id AND t.recipe_id IS NOT NULL -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

