rubyonrails-talk
August 27th, 2006, 08:55 AM
I have a hierarchical database structure where University > College >
Department > Course, and I want to select several Course objects for a
certain University. I am achieving this now with a find() function that
looks like this:
courses = Db::Course.find(:all, :include => {:department => {:school =>
More... (http://groups.google.com/group/rubyonrails-talk/msg/7303f72e790913e8)
Department > Course, and I want to select several Course objects for a
certain University. I am achieving this now with a find() function that
looks like this:
courses = Db::Course.find(:all, :include => {:department => {:school =>
More... (http://groups.google.com/group/rubyonrails-talk/msg/7303f72e790913e8)