Templates. Balance On Rails. Err.the_blog. I.NFECTIO.US. Dr Nic. Dr Nic » Post-Halloween RadRails trick - all TextMate snippets available. I tease myself with things I can’t have – like watching TextMate demo videos . One wonderful video shows a test-driven design demonstration by James Edward Gray II where he used Textmate snippets to generate the various assert statements.
For example: ase => assert_equal(expected, actual) asn => assert_nil(instance) asm => assert_match(/expected_pattern/, actual_string) I’d been using Corban Brook’s templates but they didn’t include any assert or migration templates. This made me cranky Learn Emacs . Offer to build Textmate for Windows. Countless requests for both a Windows and Linux port, but TextMate remains exclusive for the Mac, and that is how we like it! That’s just lazy if you ask me. Port Textmate’s snippet libraries (bundles) over to RadRails. You can now access the latest and greatest in templates/snippets for Radrails, for Ruby/Rails and RHTML (or click on the yellow boxes at the top). Installation Download the two template XML files. Open RadRails Click on Remove, to delete them all. Ruby Inside: Ruby blog with daily tips, news, code and fun.