Hey Jean-Christophe,
I think #destroy, #save, etc. are already wrapped in a transaction by
Rails. Is this not what you''re seeing?
k
On 1/14/07, Jean-Christophe Michel <jc.michel at symetrie.com>
wrote:> Hi Krishna,
>
> Don''t you think we should use a transaction for the before_destroy
> action ?
> Two successive actions in sql should imho always be embeded into a
> transaction.
>
> Jean-Christophe Michel
> --
> symetrie.com
>
> Better Nested Set for rails:
> http://opensource.symetrie.com/trac/better_nested_set
>
> _______________________________________________
> Betternestedset-talk mailing list
> Betternestedset-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/betternestedset-talk
>