RadRails Templates Cheat Sheets

Posted by Dr Nic on February 01, 2007

Now that RadRails is blessed with 100s of templates/snippets the challenge is now knowing what is available. Several people have had a crack at this: XSL conversions of the template XML into HTML, and Ruby scripts to convert the XML into text.

The nicest, most completest solution (that is, it is awesome and yet I didn’t have to do anything) is by Aran Donohue.

Cheat Sheets

Rapid Updates

Aran now wields a rake field to update these two wiki sites whenever the templates/snippets change. Sweet cheating goodness.

Sneak a peek

Cop a glimpse at Aran’s cheating via Subversion:
http://arandonohue.com/svn/projects/EclipseCheatSheetMaker/

Prayer to the God of Cheating

Amen.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. Michael Schuerig Thu, 01 Feb 2007 13:51:20 UTC

    A while ago I posted a way to convert Eclipse, and by extension, RadRails, templates to a printable format using XSLT, CSS, and Firefox. So, if anyone needs to print arbitrary template files, have a look:

    http://schuerig.de/michael/blog/?p=10

  2. greg Sun, 04 Feb 2007 09:49:47 UTC

    Hi Nic,

    I’ve now got a Mac & Windows platform. What do you think of textmate versus RadRails with these templates?

    Tks
    Greg

  3. Dr Nic Sun, 04 Feb 2007 11:08:05 UTC

    @greg, I’m a Windows only man. TextMate does look nice from the videos. Probably worth the money if you’re prepared to learn all its features!

  4. [...] There are quite a few snippets/templates for Rails and Ruby available on their site. In addition, I coverted the RadRails templates which Dr. Nic created (original converted from Textmate). Hope they are of some use to someone. [...]

  5. Chris Sun, 13 Jan 2008 11:36:26 UTC

    Thanks Nic,

    RadRails only recognizes the templates after “<%”, but the template itself sets up “”, so I end up with…

    <% rpc
    <%

    Is there a way around this annoyance?

  6. Chris Sun, 13 Jan 2008 11:37:45 UTC

    edit: ruby code dropped, basically I end up with double <% <%

  7. Dr Nic Sun, 13 Jan 2008 11:42:11 UTC

    @Chris [via] - I don’t actually [cough] use RadRails anymore, so its non-trivial for me to investigate bugs. I’m also not quite following the sequence of events and the resulting error.

    Perhaps Aptana - the new RadRails owners - have a forum for discussing Eclipse templating issues? Perhaps recent RadRails/Eclipse versions have broken the templates?

Comments