Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Exception Engine logs your Rails exceptions in your mongodb database and provides a web interface to manage them

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 GPLv3.txt
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 exception_engine.gemspec
README.rdoc

ExceptionEngine

Copyright (C) 2011 Consoci8 Sdn Bhd

The ExceptionEngine logs your Rails exceptions in your mongodb database and provides a web interface to manage them

It assumes you have mongodb installed and running in your machine

To use this in your rails engine, add the following line to your gemfile:

gem "exception_engine"

And then run

bundle install

Setup authentication:

Define an exception_engine_authentication method in ApplicationController:

# app/controllers/application_controller.rb

def exception_engine_authentication
  # authentication_logic_goes_here
end

For example, if you are using the Devise gem and have an Admin model:

# app/controllers/application_controller.rb

def exception_engine_authentication
  authenticate_admin!
end

View the exceptions interface:

http://localhost:3000/exceptions

For mongo installation:

www.mongodb.org/display/DOCS/Quickstart

After you installed mongodb, make sure you run the mongod server

$ mongod

This project uses GPLv3 License. Check Gemfile for other dependencies.

Credits:

  1. José Valim for enginex

  2. Thoughtbot's HoptoadNotifier gem

TODO

  1. Needs pretty UI

Something went wrong with that request. Please try again.