amended rails config, smtp_settings is :address, not :host (at least under Rails 3.1.3)

This commit is contained in:
Chris Kimpton 2011-12-11 20:31:33 +00:00
parent c1027deee6
commit e4eb0992f4

View File

@ -42,7 +42,7 @@ Under RVM your mailcatcher command may only available under the ruby you install
To set up your rails app, I recommend adding this to your `environment/development.rb`:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { :host => "localhost", :port => 1025 }
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
### PHP