Load versus Require

I've often wanted the ability to re-load included classes and modules in my sinatra apps, so I don't need to stop and start them.

Seems like putting "load 'filename.rb'" within a get / post block will work!


By Albert on March 27, 2010 7:01 AM