Written by Sean Behan on Sun Jun 17th 2012

In Rails 3 files in lib/ are no longer loaded by default. It's a snap to auto load these classes by adding the following line to config/application.rb

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

This is commented out around line 16. Either replace it or uncomment it out to reflect the location where your lib classes are located.


Tagged with..
#auto load #config #filepaths #rails 3 #rails defaults #Ruby on Rails

Just finishing up brewing up some fresh ground comments...