Troubleshooting a Ruby production application
![](/wp-content/uploads/2016/05/2016-05-02-09_40_22-Disabling-debug-mode-for-Ruby-production-environment-200x200.png)
I am by no means a Ruby expert, but I have been tasked with troubleshooting an existing Ruby application. Specifically some end user DB tasks were failing to save records and the application was throwing a generic error message to the user. By enabling debug logging and viewing the Ruby log file, I was able to see that the application was failing when attempting to send an email confirmation, then it would roll back all the DB changes since the overall