Nevill/tede — comment on commit c54d51af990c4ad33bdd35e3e47db696630b6939
File: model/setup.rb line 5
By lplanas:

It's usually better to explicitly require all files you're going to use. It's a bit more tedious, but it keeps you aware of what's going on in the app.

Relying on the global loadpath variable may have unintended side effects due to installed gems (requiring a different file to the one you think you're requiring).

Ruby 1.9 makes it easy to require files:

require_relative "./model/setup.rb"