VocabReminder
Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Rails 3 Config Auto Load Paths in Application.rb

       

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 w/ #auto load #config #filepaths #rails 3 #rails defaultsruby on rails