Rails not reloading

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

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 :slight_smile:
Thanks for any help.
-Roger

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

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs