Ohnoes is a gem to report frontend errors using your existing backend error reporting.
Add this line to your application's Gemfile:
gem 'ohnoes'
Then add the following to your application.js
//= require 'ohnoes'
And mount the engine in your routes.rb
Foobar::Application.routes.draw do
[...]
mount Ohnoes::Engine => '/ohnoes'
[...]
end
Yes.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Run bundle, before starting development.
- Implement your feature/bugfix and corresponding tests.
- Make sure your tests run against the latest stable mri.
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2007-2014, Marten Veldthuis, Mark IJbema, Airbrake, Parakey Inc, Eric Wendelin, Luke Smith, Loic Dachary, Johan Euphrosine, Øyvind Sean Kinsey, Victor Homyakov Licensed under the BSD 3-clause license, with the third clause referring to Parakey Inc.