Mongrel freeze

Hi,

I have had trouble with mongrel freezing after a period of inactivity. Following the advice from the mongrel FAQ, I added: ActiveRecord::Base.verification_timeout = 14400 to my environment.rb file. Unfortunately, that registered a mongrel error: "uninitialized constant ActiveRecord (NameError)"

How do I overcome this one? I tried: require ActiveRecord::Base but that registered the same error, only for this line instead.

Thanks, and sorry for the newbie question.

I moved the statement to the config/environments/production.rb instead. Mongrel started up just fine. Now to see if it stops freezing.

Thanks.