Andrew Porter wrote: > Preethi Sivakumar wrote: >> > > I'd question your theory that deleting a row from a join table is > significantly slower than updating a status on it also. Having a status > means that status will need to be part of both foreign keys' indexes as > you will be accessing the join with a condition on the status. This > will add an "overhead" - ignoring the extra work you are going to have > to do in all your automatic associations.
I was in an impression that updation takes less time than deletion. I'm getting ur point now. Could you please elobarate on this point so that i could proceed with the idea of deletion instead of updation. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---