I wrote this because I wanted a quicker way of getting from a rails error page in development to the line of code where it broke in TextMate
It works in both Firefox and Chrome, but if you want it to work in firefox you need to have greasemonkey installed first.
To install it, just click here
When I was scratching my itch I found Rails Footnotes which does the same thing but as a rails plugin but I did not like that route because I didn't want to add any more dependencies or bloat to my already big rails app, and I figure it would be just a burden to all my coworkers that don't use textmate. Rails Footnotes does some other cool stuff but I actually didn't want that either, I use Rack::Bug for that. I guess another side effect is that it will work for any rails app I am working on, not just the ones I have installed the plugin in.
take a look at some of these:
http://www.gauda.de/ruby-on-rails/use-rails-footnotes-to-open-files-in-netbeans-from-firefox/
http://josevalim.blogspot.com/2008/06/textmate-protocol-behavior-on-any.html