From: Mike Stephens Date: 2009-08-13T16:26:14+09:00 Subject: Re: Destroying related objects doubt ... basic oop question Fabian Streitel wrote: >> you say we shouldn't use orm, it gives us too little control > My point was ORMs mean you have to struggle understanding a new 'language'. Most (not all) developers will appreciate how relational databases work and would know how to adjust referential integrity behaviours. This thread started with: >>One thing that is confusing me is regarding the lifecycle of the >associated objects and the related data in the database. I just would suggest to people: don't use Activerecord etc unless you have a deep urge to do so. It's not the 'correct' way to do things; just one possible approach. Whatever arguments you make for controlling data from your Ruby program can be countered by at least as many that say you should leave that to the database. -- Posted via http://www.ruby-forum.com/.