/mongoid-colors

Colorize your Mongoid traces

Primary LanguageRuby

Mongoid Colors

Mongoid Colors colorizes the mongoid query debug traces.
It uses Coderay to do so.

Best served chilled with irb-config.

What does it look like?

Watch the screencast of irb config

Watch the screencast!

Usage

If you don't use irb-config, you can use it as follow:

gem 'mongoid-colors'
MongoidColors::Colorizer.setup # hijack Mongoid.logger.formatter

TODO

  • Testing

License

MIT License