Politics, Programming and Possibilities
10 Mar
Now that the syncPEOPLE on Rails bundle is built in to TextMate by default, it would be nice to see the commands, macros and snippets all in one sheet. It looks like Sebastian Friedrich beat me to it—take a look at his TextMate Rails PDF.
Thanks, Sebastian!
9 Responses for "Rails Cheat Sheat for TextMate"
Sweet! But ugly. :!
Aylott, are you saying you don’t like OmniGraffle’s default styles and shadings??? Omg, now i’m offended.
I threw this together in 5 minutes. I’m sure it can be done much nicer…
Since when is your syncPEOPLE on Rails bundle built into TextMate? Do I need to install it or no? I’ve looked around my copy (nightly 906 and TM assures me it’s the latest) and I don’t see any of your toys. Thanks.
Saadiq:
I don’t think the TextMate nightly builds include changes to the bundles. Until the next major release, you’ll have to get the Rails bundle from TextMate’s subversion repository. See http://macromates.com/wiki/Main/SubversionCheckout
The bundle looks great! I just tried to use the partial inline feature and it does indeed bring the partial text inline, however hitting ctrl-shft quote again just brings in another copy… is there something I’m misssing?
Joe:
This is an interesting bug I’ve seen once before, but I’ve had trouble tracking it down. It appears that Ruby adds a character to the end of each line in *some* cases only. The result is that the regular expression used to match the “inline partial” markers fails.
If you can help me figure this out, it would be appreciated. Does it do that for you in several different files? Are these files inside a bone-fide TextMate project?
Any tricks to getting textmate_footnotes plugin working with edge rails? I noticed that when switching to edge it no longer displays the footnotes…
Thanks for posting. Somebody should build these shortcuts into RadRails. (but I don’t know how)