Textmate+Rails: Easy partials for better code

0 · Ariejan de Vroom · Dec. 22, 2006, midnight
Summary
As you may know, I use TextMate for editing Rails code. I’ve just been browsing the Rails bundle today and I came across some very interesting things. Today I’ll tell you about partials. Partials are ERb templates. They are mostly HTML (or RJS or XML or whatever output format you use) and include some embedded Ruby to show actual content. Partials are not linked to a method in a controller, but instead they can be easily rendered through-out your application. TextMate allows you to refactor your...