Since the latest Rails 3 release is not auto-loading modules and classes from lib anymore,
what would be the best way to load them?

From github:

A few changes were done in this commit:

Do not autoload code in *lib* for applications (now you need to explicitly 
require them). This makes an application behave closer to an engine 
(code in lib is still autoloaded for plugins);

12 Answers
12

Leave a Reply

Your email address will not be published. Required fields are marked *