Dependencies.load_paths

Hi    what is Dependencies.load_paths and placing it in environment.rb?

Thanks in advance Sijo

Hi what is Dependencies.load_paths and placing it in environment.rb?

Controls which paths the autoloading feature in rails searches through.

Fred

I did not understand it. What is autoloading feature in rails searches means? I have also doubts in Dependencies.explicitly_unloadable_constants These types of things very difficult to understand ..Could you please tell where to get proper documentation and all(or any blogs)

Sijo

I did not understand it. What is autoloading feature in rails searches means? I have also doubts in

Autoleading means that when Rails sees Foo it knows to go and load the foo.rb file. Dependencies.load_paths controls where it will search for that file

Dependencies.explicitly_unloadable_constants These types of things very difficult to understand ..Could you please tell where to get proper documentation and all(or any blogs)

This to do with reloading in development mode. In normal usage you would nearly never need to use this.

Fred