HI -
i cant stop objects getting cached + have noticed some others
commenting on this. its driving me nuts to restart the webserver for
each code change!
environments/development.rb
config.cache_classes = false
and making sure to start webbrick as dev mode, ...
but the classes still get cached.
are there any workarounds for this?
using rails 1.1.6 + ruby 1.8.5 ...
ref:
http://threebit.net/mail-archive/rails/msg10420.html
tx.
On 19/09/06, keitaiguy
<keitaiguy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> hi -
>
> does rails cache code by default?> >
> > i have some lib/user classes, and when i add new methods i have to
> > restart the webserver for them to show up.
> > that hardly seems expected behavior? it makes each test/run cycle
> > longer than compilling... is there a way to turn off caching?
> >
> > i found this note:
> > # Note: To turn off all caching and sweeping, set
> > Base.perform_caching = false.
> >
> > but not sure where to put that code!
> >
> > tx!
> >
> > /dc
> >
> >
>
>
> --
> -------------------------------------------
> David "DC" Collier
> mailto:dc-ZhrqRZBfwnfQT0dZR+AlfA@public.gmane.org
> +81 (0)80 6521 9559
> skype: callto://d3ntaku
> -------------------------------------------
> Pikkle 株式会社
> http://www.pikkle.com
> -------------------------------------------
>
>
>
> --
> -------------------------------------------
> David "DC" Collier
> mailto:dc-ZhrqRZBfwnfQT0dZR+AlfA@public.gmane.org
> +81 (0)80 6521 9559
> skype: callto://d3ntaku
> -------------------------------------------
> Pikkle 株式会社
> http://www.pikkle.com
> -------------------------------------------
>
--
-------------------------------------------
David "DC" Collier
mailto:dc-ZhrqRZBfwnfQT0dZR+AlfA@public.gmane.org
+81 (0)80 6521 9559
skype: callto://d3ntaku
-------------------------------------------
Pikkle 株式会社
http://www.pikkle.com
-------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---