Here's a little lib I wrote that implements support for after_commit callbacks:
http://gist.github.com/76868 On Mon, Mar 9, 2009 at 2:43 PM, Alex MacCaw <[email protected]> wrote: > > Yes, I'm still getting the error. > > On Mar 9, 2:39 pm, Jan De Poorter <[email protected]> wrote: > > As far as I can see observers after_save calls are still in the > > transaction. > > > > regards, > > Jan De Poorterhttp://workswithruby.com > > > > On 07 Mar 2009, at 18:31, Alex MacCaw wrote: > > > > > > > > > Thanks for the suggestion, will do. > > > > > On Mar 7, 4:43 pm, Pratik <[email protected]> wrote: > > >> On Sat, Mar 7, 2009 at 4:40 PM, Eloy Duran > > >> <[email protected]> wrote: > > >>> So maybe a patch to add the after_commit API, as used in the > > >>> article, > > >>> would be a good idea. > > > > >> Or if possible, just use observers. > > >> -- > > >> Cheers! > > >> - Pratikhttp://m.onkey.org > > > -- http://www.eribium.org | http://socialmod.com --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
