Stop module caching in /lib?

Hi

I hae a module and the contents inside it (1 class) seems to cache in
development mode, meaning I have to re start the server every time I
make a code change.

Is there a way to stop this?

On Oct 22, 2006, at 12:57 PM, scot wrote:

I hae a module and the contents inside it (1 class) seems to cache in
development mode, meaning I have to re start the server every time I
make a code change.

Put `include Reloadable’ in your class definition.

http://weblog.techno-weenie.net/2006/2/21/unitialized-constant-
technoweenie


Chris W.
http://errtheblog.com

Chris W. wrote:

On Oct 22, 2006, at 12:57 PM, scot wrote:

I hae a module and the contents inside it (1 class) seems to cache in
development mode, meaning I have to re start the server every time I
make a code change.

Put `include Reloadable’ in your class definition.

http://weblog.techno-weenie.net/2006/2/21/unitialized-constant-
technoweenie


Chris W.
http://errtheblog.com

cool, thanks

will give it a go!

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