public
Description: Rails backtrace silencer for ajax requests
Homepage: http://inem.github.com/xilence.html
Clone URL: git://github.com/inem/xilence.git
name age message
file MIT-LICENSE Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
file README.markdown Sat Oct 24 05:09:57 -0700 2009 removing unneeded headers from readme [inem]
file Rakefile Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
file VERSION Sat Oct 24 03:04:58 -0700 2009 added VERSION [inem]
file init.rb Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
file install.rb Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
directory lib/ Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
directory tasks/ Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
directory test/ Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
file uninstall.rb Sun Aug 23 12:33:44 -0700 2009 xilence plugin [inem]
README.markdown
  • How often have you got 500 error while developing some super-cool ajax thing and seen stuff like this in your browser console?
    Safari console rails backtrace noise
  • Do we really need to scroll down all that HTML/CSS noise each time looking on rails error backtrace?

Wanna make your backtraces clean and quiet for ajax requests? Go for it!

Features

There is only one extremely useful feature:

  • Xilence removes all that annoying HTML and CSS code from your rails backtrace for ajax requests

In Action

Just install plugin, open your firebug/safari console and click on the broken ajax action link and you should see something like this:

Firebug xilence output

Installation

./script/plugin install git://github.com/inem/xilence.git

Source code

http://github.com/inem/xilence