# Dependencies.load\_paths

**URL:** <https://www.ruby-forum.com/t/dependencies-load-paths/155817>\
**Category:** Rails\
**Created:** [December 17, 2008, 7:44am UTC](https://www.ruby-forum.com/t/dependencies-load-paths/155817 "2008-12-17T07:44:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [December 17, 2008, 7:44am UTC](https://www.ruby-forum.com/t/dependencies-load-paths/155817/1 "2008-12-17T07:44:22Z")

</div>

Hi  
what is Dependencies.load\_paths and placing it in environment.rb?

Thanks in advance  
Sijo

---

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [December 17, 2008, 9:52am UTC](https://www.ruby-forum.com/t/dependencies-load-paths/155817/2 "2008-12-17T09:52:35Z")

</div>

On Dec 17, 6:44 am, Sijo Kg [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi  
> what is Dependencies.load\_paths and placing it in environment.rb?

Controls which paths the autoloading feature in rails searches  
through.

Fred

---

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [December 17, 2008, 10:20am UTC](https://www.ruby-forum.com/t/dependencies-load-paths/155817/3 "2008-12-17T10:20:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [December 17, 2008, 10:42am UTC](https://www.ruby-forum.com/t/dependencies-load-paths/155817/4 "2008-12-17T10:42:26Z")

</div>

On 17 Dec 2008, at 09:20, Sijo Kg wrote:

> 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
