Displaying 1 result from an estimated 1 matches for "update_contain".
Did you mean:
  update_contact
  
2007 Jun 29
1
Speeding up :dependent => :destroy
I have a tree of models that represent a book.  Looks like this:
book
   sections
      documents
          paragraphs
              index entries
              glossary entries
              footnotes
                  index entries
                  glossary entries
These are all models with has_many from parent and the child has
belongs_to.  They also all have dependent => :destroy