Rails 3 and Autoloading modules from lib folder

Rails 3 now forces you to explicitly require the files and does not autoload them for you, though the autoload still works for plugins.

The Reference

In order to auto load your lib files you would need to add this bit to your application.rb file

config.autoload_paths += %W(#{config.root}/lib)