Hi, Re Rails observers, (i.e. http://api.rubyonrails.org/classes/ActiveRecord/Observer.html ), can anyone clarify:
Question - Does the call back for a registered observer occur AFTER or BEFORE the database transaction has completed? (e.g. if I issued a manual rollback call in an observer callback method would it work or be too late to trigger the rollback) -- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---