method
insert_before
v3.1.0 -
Show latest stable
- Class:
Rails::Configuration::MiddlewareStackProxy
insert_before(*args, &block)public
No documentation available.
# File railties/lib/rails/configuration.rb, line 14
def insert_before(*args, &block)
@operations << [:insert_before, args, block]
end 2Notes
Placing it within stack at certain level
where_you_want_it = 0 (begining of stack loaded first) Rails.application.config.middleware.insert_before(where_you_want_it, Module::Class)
Thanks davinjay!
Your note was SUPER helpful so I wanted to leave more than just a "1 thank".
Cheers!