sajad torkamani

Install MailHog

See this post.

Configure ActionMailer

Add the following to environments/development.rb:

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { address: '127.0.0.1', port: 1025 }