Hello, 2. http://guides.rubyonrails.org/association_basics.html Here check has_many :through , has_and_belongs_to_many assotiations, and I think you may need polymorphic association. You have to try them out, but there are some help in the tutorial to make decision.
I'm not sure if I understand well your first question, can you write it more clearly please? good luck, gezope On nov. 19, 05:50, Me <[email protected]> wrote: > Howdy, I have a couple questions on the best way to model things in > rails. > > 1. How to model a table so an admin person can selectively turn on/ > off hard/soft deletes from a table at a table level? > 2. Model a parent/child relationship that can go infinitely deep. > specifically equipment, parent => child => child => child .... -- 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.

