I am trying to implement a directory structure  (Libraries can contain
other Libraries or Documents)
using the plugin 'awesome_nested_set'

if lfe was simple (only Libraries) it would be over already, but I
don't see yet how to design the models to handle also Documents in the
tree ..

should I define an Item model, with  acts_as_nested_set and have
Library model and Document model  inherate from Item ?

or work only with the Library acts_as_nested_set  and manage the
Document as a List ?

some guidance would be welcome ... ( a lot..)

erwin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to