The Next Generation Platform is Coming - Get Ready Now!
GitHub Readme.md
Welcome to a simple Rails application that allows you to test the Honeybadger exception and application monitoring platform for Rails apps.
The easiest way to get started with this application is to deploy it to Heroku with the Heroku Button:
Using that button will spin up a Heroku app for you with the Honeybadger add-on already added to the app.
If you'd like to do it the old fashioned way, follow these steps:
bundle
to get the necessary gems installedSECRET_KEY_BASE=foo RAILS_ENV=production HONEYBADGER_API_KEY=your_api_key_here rails s
Once you have the app running, either on Heroku or on your local machine, browse to the running Rails app. When you click on the first link, an error will be triggered and reported to Honeybadger. Check your email for a message from Honeybadger with a link to the error you just recorded.
If you take a peek at app/controllers/application_controller.rb
you'll
see our context feature in action. Setting the context allows you to
pass relevant information about the request that generated the error to
Honeybadger. You can put anything you like in the context hash, but
most often this hash is used to send information about the user that
encountered the error to Honeybadger to assist in contacting users that
experienced a problem on your site.
We hope this sample app gives you an easy way to see just how awesome Honeybadger is. :) If you have any questions about this app or the Honeybadger monitoring service, please feel free to drop us a line at support@honeybadger.io.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.