Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AS::Callbacks#run_callbacks optimized to reduce backtrace #5999
I remember @tenderlove was saying once that reduce backtrace size is a good idea.
So, this patch reduce it by one
activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__3245509492598542750__call__654369043753597113__callbacks' - activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call'