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:
Very similar, but I think this is a little more elegant:
config.autoload_paths += Dir["#{config.root}/lib", "#{config.root}/lib/**/"]