I use GEdit to write rails programs when Iām at home (when not at home I use GVim because it is easy to take it on my pendrive) But I missed a shortcut for source code formatting, so I created this plugin: http://www.urubatan.info/2008/05/gedit_plugin_formatting_ruby_code/
I hope it can be useful for others too