David J. Hamilton
2010-Jul-12 02:38 UTC
[Patch] [Issue 5089] ActiveSupport::Callbacks define_callbacks :rescuable => true does not work for errors in :before callbacks
Hello, Contra the docs, :rescuable => true does not invoke :after callbacks when a :before callback raises an exception. I have submitted a patch for this issue. LH issue 5089:<https://rails.lighthouseapp.com/projects/8994/tickets/5089-activesupportcallbacks-rescuable-true-does-not-work-for-errs-in-before-callbacks-patch> Patch:<http://github.com/hjdivad/rails/tree/issue-5089> -- med vänlig hälsning David JH -- 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 rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.