Cache Classes problem


#1

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


#2

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


#3

Hey thank you!
I think that’s it!

On 18 Dez., 11:01, Frederick C. removed_email_address@domain.invalid