Closed beanieboi closed 3 years ago
I looked into this a bit and opened #337 as an alternative. My preference is for #337 because, even though as a breaking change it's more effort, it's the long-term (and "correct", I think) fix. But I may be underestimating the impact of the breaking change.
Sinatra 2.1 changed how helpers are loaded. They switched from include to prepend https://github.com/sinatra/sinatra/commit/2db247dd33bb29732a8e1d7e3a2172ee9e153efb
Going forward we need to depend on Sinatra 2.1 or higher.