I have a nice hierarchical table structure like this:
I have a report which is based on units, but i want to be able to filter
the units by which subgroup, or which group, or which division. I also
want to sort them by division.name,then group.name, then subgroup.name.
What’s the syntax i need? I’ve got this far…
@units = Unit.find_all :include => XXX, :order => XXX
Oh, and another topic - i finally figured out how to deploy rails with
lighttpd and scgi on a windows server the other day!