- loading...
RadRails Templates Cheat Sheets
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
- RHTML on radrailstemplates.com or on cheat.errtheblog.com
- Ruby on radrailstemplates.com or on hcheat.errtheblog.com
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.
Related posts:
- RSpec snippets/templates for RadRails Using RadRails? Using RSpec? Missing some snippet/template love? 70...
- RadRails Templates on Trac I have started to cleanup the Ruby and RHTML templates...
- Make RadRails look like TextMate One my very early posts (3 months ago) might...
- Post-Halloween RadRails trick – all TextMate snippets available HTML snippets 48 Ruby snippets 199 I tease myself...
- 53 cheat sheets and growing I said previously that errtheblog’s cheat app would have 100s+...
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
Hi Nic,
I’ve now got a Mac & Windows platform. What do you think of textmate versus RadRails with these templates?
Tks
Greg
@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!
[...] 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. [...]
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?
edit: ruby code dropped, basically I end up with double <% <%
@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?