Push to Heroku and reset production database:
$ git push heroku
$ heroku pg:reset DATABASE
$ heroku run rake db:migrate
$ heroku run rake db:populate
#heroku #howto
Push to Heroku and reset production database:
$ git push heroku
$ heroku pg:reset DATABASE
$ heroku run rake db:migrate
$ heroku run rake db:populate
#heroku #howto
Send an email:
# Tell the UserMailer to send a welcome Email after save
TenantMailer.test_email(current_tenant).deliver
Future: http://blog.plataformatec.com.br/2011/06/multipart-templates-with-markerb/ Create one version of the email in Markdown syntax and generate the multi-part plain text and html. #howto