Forum: Ruby on Rails Storing environment.rb settings in the database...

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 subimage interactive (Guest)
on 2006-03-01 01:42
(Received via mailing list)
Has anyone accomplished storing settings that would normally go in
environment.rb into the database?

For instance, I'd like it if I could specify my ActionMailer properties
a web UI admin panel

ActionMailer::Base.server_settings = {
  :address => "",
  :port => 25,
  :domain => "",
  :authentication => :login,
  :user_name => "my@email.address",
  :password => "xxxxx",

Stuff like address, domain, user_name, password....

0e1f913bd7b6e69419fe88c82c9a15ed?d=identicon&s=25 Sean Stephens (Guest)
on 2006-03-01 02:04
(Received via mailing list)
<answer type="canned">
   Check out the Typo source.  They store settings in the DB.
   Lots of good stuff in there.

This topic is locked and can not be replied to.