Forum: Ruby on Rails Apache/FCGI Rails - is apache restart required on DB change?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F310d8e6eb0a68a2485902e06e072cfc?d=identicon&s=25 Cameron Booth (Guest)
on 2006-03-28 03:55
Hi all,

wondering when I need to restart apache. I'm setting up a rails system
for the first time, and it seems to be caching my database
configuration, unless I restart apache.

Is there any way out of this? Is there a way to do this without
restarting apache?

Thanks in advance!

Cameron
F719c6cb34bd5b691c12b373b7244b4d?d=identicon&s=25 Dorian Mcfarland (tachekent)
on 2006-03-28 04:00
(Received via mailing list)
I *think* your environment and db details are cached even in dev mode,
so you would either need to restart apache or at least kill all the
dispatch.fcgi processes.

There are some good pointers here:
http://weblog.textdrive.com/article/175/rails-opti...

...pointers that I would have done well to have read before the last 2
months on my project :)

dorian
F310d8e6eb0a68a2485902e06e072cfc?d=identicon&s=25 Cameron Booth (cdb)
on 2006-03-28 05:04
Dorian, thanks very much. Good to know, and the article's a great help.
This topic is locked and can not be replied to.