Did you ever wish you could view a massive string in your text editor? I often do when debugging (x|ht)tml. 'puts response.body' is often a bit overwhelming.<br><br>Despair not, now you can:<br>$ gem install string_to_editor (make sure gemcutter is in your sources)<br>

(rdb:1) require 'string_to_editor'<br>(rdb:1) response.body.view<br><br>What this does is write the string to a temporary file and run the editor command in ENV['EDITOR'] on that file. Setting your favourite editor is best done by adding a line to your ~/.bashrc. I recommend:<br>

export EDITOR='emacsclient'<br><br>Happy holidays, Tom.<br><br clear="all">-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~<br> Tom ten Thij<br> Unboxed Consulting, <a href="http://unboxedconsulting.com">http://unboxedconsulting.com</a><br>

 T: +44 20 3137 2943 F: +44 20 7183 4251<br>-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~<br><br>