Hello all,
I’d like to order a model which acts as a tree by an attribute belonging
to
an associated model.
Model A has many B.
In A, I have the declaration acts_as_tree :order => “name” where name is
an
attribute of B.
Does anybody know how I can achieve this ?
Johan
Johan Duflost
Analyst Programmer
Belgian Biodiversity Platform ( http://www.biodiversity.be)
Belgian Federal Science Policy Office (http://www.belspo.be )
Tel:+32 2 650 5751 Fax: +32 2 650 5124