# Rails not reloading

**URL:** <https://www.ruby-forum.com/t/rails-not-reloading/117513>\
**Category:** Rails\
**Created:** [October 17, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/rails-not-reloading/117513 "2007-10-17T17:19:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [October 17, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/rails-not-reloading/117513/1 "2007-10-17T17:19:37Z")

</div>

It appears that rails ‘should’ reload controllers as they are modified.

“As soon as a method is created or changed, it immediately is noticed  
and integrated into the current Rails system.”

[http://www.linuxjournal.com/node/8433/print](http://www.linuxjournal.com/node/8433/print)

Do other peoples’ rails do that? Is this just me?  
If I understand correctly with each call it should load the file with  
the right controller, then dismantle it after servicing the call (hence  
‘require’ working again to reload the file). Except that require will  
never load a file twice. Guess I’m confused 🙂  
Thanks for any help.  
-Roger

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [October 17, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/rails-not-reloading/117513/2 "2007-10-17T17:47:22Z")

</div>

On 17 Oct 2007, at 16:19, Roger P. wrote:

> It appears that rails ‘should’ reload controllers as they are  
> modified.

This only happens (by default) in development mode. Are you seeing  
this in development mode?

Fred

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [October 17, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/rails-not-reloading/117513/3 "2007-10-17T17:52:26Z")

</div>

Frederick C. wrote:

> On 17 Oct 2007, at 16:19, Roger P. wrote:
> 
> > It appears that rails ‘should’ reload controllers as they are  
> > modified.
> 
> This only happens (by default) in development mode. Are you seeing  
> this in development mode?
> 
> Fred

yeah for some reason happens in development, with config.cache\_classes =  
false  
in development.rb. Weird.
