Cache Classes problem

Hi all

I’ve got a problem with the “cache classes” option in Rails.
(config.cache_classes = true)
When I turn it on, some objects are not reloaded during a long time.

For example:
If i load something from database with a datetime in the condition
(created_at > 1.minutes.ago), the item will be desplayed much longer
than just for this minute…

I’m using rails 2.2 with a passenger server.

Has someone an idea what could be wrong?

Regards
sigma

On 18 Dec 2008, at 09:18, sigma wrote:

than just for this minute…

I’m using rails 2.2 with a passenger server.

Has someone an idea what could be wrong?

Is it this:
http://www.spacevatican.org/2008/11/9/do-you-know-when-your-code-runs
?

Fred

Hey thank you!
I think that’s it!

On 18 Dez., 11:01, Frederick C. [email protected]

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