RoR - Get your exceptions notified via Slack

22-Nov-2018 2530

Have you ever wanted to be one step ahead of your users, and be notified of any unwanted exception before anyone? If so, read this article to configure your rails application in just a few steps.First, we are going to need two gems:Exception Notification, provides a set of notifiers for sending notifications when errors occur in a Rack/Rails applicationSlack-Notifier, a simple wrapper to send notifications to Slack webhooks.Install them as you would do with any other gem. In my case, I add them to the Gemfile and then run bundle install.

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle