I'm currently developing a Sinatra/Rack app, and I've run into a design problem. I was looking around, and I'm not quite sure where to place the bulk of the require
statements.
I figure they go in one of two places, either the main.rb
after requiring Sinatra itself, or they go in the config.ru
so they are all loaded at the start of the application.
I'm currently leaning towards the main.rb
as that is what's loaded by all of the testing applications.
Thank you for your help.