Reloading of Middleware code

I just came across this StackOverflow Question about reloading of middleware in development and I was asking myself if there is really no default way in Rails to achieve this.

I think that Rails actually was able to reload code in development, but I’m not 100% sure on that…

Any feedback appreciated.