Disable object caching?

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!



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