Where does rails loads paths?


#1

Hi guys,

I have this in my environment and was wondering the location of the
code that actually loads this directory:

config.load_paths += %W( #{RAILS_ROOT}/public/accounts/admin/lib )

I want to know the code that is used by rails to load the directories.


#2

vendor/rails/railties/lib/initializer.rb

Have a look at the process method and load_application_classes

Alex