In Rails 5, when a callback should cancel subsequent callbacks, the recommended process is documented as "you must explicitly throw :abort ".
My question is: how is it recommended to eliminate this exception?
My current solution is to catch an UncaughtThrowError in my ApplicationController - given the way it is documented, I thought this function would call some magic in Rails or Rack middleware to go directly to the rendering stage ( ActionView ).
source share