if anything, I'd rather see database.yml go away and have AR configured through the application config api instead. the current state of affairs makes it more difficult to e.g. use an external configuration repository like ZooKeeper. that will continue to be true as long as AR has no documented public configuration api and simply expects the user to provide database.yml (the half-baked DATABASE_URL environment variable support notwithstanding). please don't send AM down the same path and make the situation even worse.
On Tue, May 7, 2013 at 6:16 AM, Amiel Martin <[email protected]> wrote: > Richard, > > I agree that storing configuration in git is not ideal. > > My hope is that: > > 1. moving mail configuration to mail.yml will encourage mail configuration > to be treated more like database configuration is now (by default, > database.yml is not included in git; and a database.yml.example is > provided). > 2. if the configuration apis are the same, any future efforts that change > the way ActiveRecord is configured, will more easily apply to ActionMailer > as well. > > Thanks for your response, > > > -Amiel > http://carnesmedia.com > > > On Sun, May 5, 2013 at 9:17 PM, Richard Schneeman < > [email protected]> wrote: > >> Storing configuration in your git repository is not the greatest thing on >> earth: http://www.12factor.net/config >> >> At least by pulling it from code it becomes very easy to assign to ENV >> Variables. >> >> -- >> Richard Schneeman >> http://heroku.com >> @schneems <http://twitter.com/schneems> >> >> On Sunday, May 5, 2013 at 8:04 PM, Amiel Martin wrote: >> >> I chose to make ActionMailer like ActiveRecord because I think that >> more people know ActiveRecord's configuration. However, if there is >> something about the way ActionMailer is configured that is desired, then >> ActiveRecord's configuration could also be changed (although it seems like >> it would be harder to change and deprecate ActiveRecord configuration). >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
