Agile Web Development

Build it. Launch it. Love it.

Textmate Footnotes

This plugin saves you time when moving between your browser and Textmate. It adds clickable links to the Rails backtrace when an error occurs, and clickable �footnotes� to the bottom of each page (in development mode only). These links open the correct file in Textmate and move your cursor to the precise line of interest.

In addition, you will have session, params and cookies information available to you in development mode on all rhtml rendered pages.

The latest version allows non-textmate features to work for all users.

NOTE: To anonymously access the Macromates subversion repository, use "svn --username anon --password anon co http:// ..."

Vitals

Home http://blog.inquirylabs.com/2006/09/28/textmate-footnotes-v16-released/
Repository http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle/Support/plugins/footnotes
License Rails' (MIT)
Tags Tag_red debugging textmate
Rating (30 votes)
Owner Duane Johnson
Created 25 May 2006

Comments

  • Avatar
    Kasper Bjørn
    2 October 2007

    This is a great plugin. But beware! If you are using the excellent http_authentication plugin and get something like:

    protected method `render' called for #<LoginController:0x35a0e44>

    You may sit around for hours pulling your hair in various directions. I don't know why it does this and it could be http_authentication issue.

  • viktor tron
    21 October 2007

    using rails 1.2.5, I get internal server error when the exception is in the template files. (it works ok when the exception comes from the controller or model).

    I tried to test it and rake test:plugins PLUGIN=footnotes ... ruby/1.8/ostruct.rb:49:in initialize': undefined methodeach' for :xhr:Symbol (NoMethodError)

  • Avatar
    23 November 2007

    You don't even need to be a TextMate user -- the session, params and cookies information are well worth the price of admission (free!)

  • Avatar
    jm
    18 December 2007

    Great plugin. Thank you. But it does not work with ror 2.0 I will check the code :)

  • Avatar
    3 January 2008

    Confirmed not working on Rails 2.0.2:

    Textmate Footnotes Exception: You have a nil object when you didn't expect it! The error occurred while evaluating nil.filename

  • Avatar
    7 April 2008

    I updated the TextMate footnotes plugin for Rails 2.0.2.

    See it "here":http://github.com/capitalist/textmate-footnotes/tree/master

  • Avatar
    12 May 2008

    Footnotes has new home:

    http://github.com/drnic/rails-footnotes/tree/master

    And new features:

    http://josevalim.blogspot.com/2008/05/footnotes-v30.html

    Also working in Rails 2.0.x. =)

Add a comment