2.25.0.txt

doc/release_notes/2.25.0.txt
Last Update: 2017-04-18 11:06:09 -0700

New Features

  • An error_mail plugin has been added for reporting exceptions raised via email. This is similar to the existing error_email plugin, but uses the mail library instead of net/smtp directly. If you are already using the mail library and the error_email plugin in your application, it’s recommended to switch to the error_mail plugin. Example:

    plugin :error_mail, :to=>'to@example.com', :from=>'from@example.com'
    plugin :error_handler do |e|
      error_mail(e)
      'Internal Server Error'
    end