On Fri, Aug 22, 2008 at 1:47 PM, Xavier Noria <[EMAIL PROTECTED]> wrote:
>
> In fact, I wonder why halting the chain in before_* callbacks commits
> the transaction. Wouldn't you expect a rollback? If AR executed a
> rollback automatically, in addition, save and save! would preserve
> their usage idioms.

That does sound more ... sensible.  Why don't you give it a try in a
branch and see what breaks?

> That would still leave room for best practices for rollbacks in
> after_* hooks, but I think that would be fine.
>
> >
>



-- 
Cheers

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to