Btw, what about email credentials? Currently the only way to define the 
smtp_settings for ActionMailer::Base is via ruby code. If we're sticking 
to database.yml, shouldn't we have an email.yml as well?


sure, I can do e.g.:

ActionMailer::Base.smtp_settings = YAML::load(ERB.new(IO.read(RAILS_ROOT 
+ "/config/email.yml")).result)[env]

in my environment.rb, but then I can do that for database.yml as well if 
that was what's needed.




Lawrence

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to