DHH, I gave a try to your suggestion and made a PR: https://github.com/rails/rails/pull/17227 Take a look when you have time and send feedback, thanks!
On Tuesday, October 7, 2014 9:24:47 AM UTC-7, Claudio B. wrote: > > Hello! I have started using ActiveJob and I noticed the presence of > callbacks like before_perform. > > I was expecting these callbacks to behave like ActiveRecord ones: if a > before_* callback returns false, all the later callbacks and the associated > action are cancelled. > > That is not the case with ActiveJob, so my question is: should this be > changed? And if not… does it mean that writing code inside before_perform > is exactly the same than writing code at the beginning of the perform > method? > > Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.