Hi All,
I was wondering if a Class declared with acts_as_tree can have more
than one root, i.e., parent_id = null?
this will basically support multiple trees within the same table.
My implementation idea is to have a lookups table where the records
that have parent_id are the lookup Types and each one of those will
have several children - and children could have more children, etc.
I know I can achieve the same thing for creating a dummy root and make
the first level my “types”, but I thought the idea above is cleaner in
my opinion.
thanks,
Marcelo.