[Rails] Storing environment.rb settings in the database...

subimage interactive subimage at gmail.com
Wed Mar 1 00:41:54 GMT 2006


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 from
a web UI admin panel

ActionMailer::Base.server_settings = {
  :address => "mail.server.here",
  :port => 25,
  :domain => "somewhere.com",
  :authentication => :login,
  :user_name => "my at email.address",
  :password => "xxxxx",
}

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

Ideas?

--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060301/a56a8eff/attachment-0001.html


More information about the Rails mailing list