← Back to Upcase

ActionMailer Configuration Settings Location


(Edward Loveall) #1

I’m setting up a mailer to email users when they sign up. I have my SMTP settings inside of /config/environments/development.rb. However, if I’m going to have the same server settings for development and production, wouldn’t it make more sense to put them in the /config/application.rb file? I ask because everyone seems to mention putting it in development.rb. Am I missing some convention?