RE: Newbie Question about Custom Classes


#1

Brent: You say you’re using Apache? Why not use WEBrick? The reason I
ask is that if you are using Apache + FCGI and you are in “Production”
mode, all models will be cached. And there are memory leaks with FCGI
and “Development” mode.

If you’re just starting out, I’d recommend just using WEBrick. (Better
debug messages in my opinion).


#2

Well, personally, I like developing, testing and pushing the same
files in the same environment. So if the production server is apache,
then I develop with the same. But, if there are known issues I could
always switch to WEBrick for development, and leave Apache for
production.

I turned the caching options off in config/environments/*.rb for all
environments, restarted Apache, and it still caches.

Thanks,

  • Brent