[Boulder Ruby Group] rfc

ara.t.howard ara.t.howard at gmail.com
Thu Sep 20 01:30:19 EDT 2007


On Sep 19, 2007, at 11:04 PM, Lee Marlow wrote:

> This definitely looks more sane and is what I would expect.  I wonder
> if you submitted it as a patch to rails whether it could make it into
> 2.0.

i haven't looked at the 2.0 source, but i imagine quite a bit has  
changed - probably too much for this patch...


> Is this not in rails already because the savepoints and nested
> transactions aren't standard across most databases?

well - it doesn't really support nested transactions per-se.  that is  
to say that rails wraps alot of stuff in transactions but, if you are  
already in one, it's kind of moot.  so these transactions are really  
ruby transactions - where the many of them stack into only one db  
transaction.  as far as savepoints it doesn't really matter if they  
are implemented or not.  in sane_transactions you can simply not use  
them for unsupported dbs...  but you are right that only pg/oracle  
and a few others support them.

cheers.

a @ http://drawohara.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama





More information about the Bdrg-members mailing list