All posts tagged with howto


Heroku Router 2.0 is now generally available, marking a significant step forward in our infrastructure modernization efforts. The new router delivers enhanced performance and introduces new features to improve your applications’ functionality. There are, of course, nuances to be aware of with any new system, and with Router 2.0 set to become the default router soon, we’d like to share some tips and tricks to ensure a smooth and seamless transition.

Start with a Staging Application

We recommend exploring the new router’s features and validating your specific use cases in a controlled environment. If you haven’t already, spin up a staging version of your app that mirrors your production...

How-To: Heroku + Hoptoad

news

Hoptoad (now Airbrake) is a great service by Thoughtbot for collecting exceptions. Like exception_notifier, but without clogging your inbox, and much prettier.

Using Hoptoad with Heroku is a cinch. First, sign up for a free Hoptoad account.

Now install their notifier plugin. If you’re working locally and deploying to Heroku with Git, install with script/plugin:

 script/plugin install git://github.com/thoughtbot/hoptoad_notifier.git 

Or if you’re using the Heroku web editor, open the vendor folder and click Gems & Plugins, then enter the plugin URL in the “Install from URL” box at the bottom.

Next, create a new file config/initializers/hoptoad.rb containing:

...

Browse the blog archives or subscribe to the full-text feed.