I came across Hoptoad recently. Hoptoad is basically a webservice with an API that you can post error data to. It then stores the data and presents it to you in a nice web interface, and optionally sends you e-mail alerts in such a fashion that it doesn’t just unintelligently flood your inbox.
It was originally designed to be used with Rails apps, but I saw that there was also a Merb plugin. Not wanting my favourite web framework to be left out, I made a Hoptoad notifier for Ramaze with the help of manveru (the Ramaze lead dev).
Install via Rubygems:
gem install hoptoad-notifier-ramaze --source http://purepistos.net
And usage is dead easy; just two lines:
require 'hoptoad-notifier'
Ramaze::Helper::HoptoadNotifier.trait[ :api_key ] = 'your-hoptoad-project-api-key'
I’m already using it with my own Ramaze applications. Enjoy!
No related posts.