Yan Pritzker photographer, entrepreneur, software engineer, musician, skier

skwpspace is Yan Pritzker's home on the web

Blog :: Photography :: About Me

TwitterCounter for @skwp

Get the news feed
Get updates by email
Follow me on twitter

hello, i'm yan

I am a photographer, entrepreneur, software engineer, guitarist, and telemark skier

This blog is about startups, blogging, Ruby On Rails, virtualization and cloud computing, photography, customer service, marketing, ux and design, git, and lots more.

planypus

I'm the founder of Planypus, the place to share your plans!

cohesiveft

Virtualize your application for download or deploy to the cloud in minutes!

flickr

sheepsicelandic mannequinbridgeskaterkristinaice flowstampede

Top Posts

Archives

Contact

Reach me at yan at pritzker.ws

Posted
8 September 2006 @ 11pm

Tagged
thoughts

TextMate : refactor view into partial

In your rails view (rhtml/ERb), select a bunch of text, then hit Ctrl+Shift+H, type in the name of a partial, and you’ve instantly created a new partial file, and replaced the current code block with a call to the partial. I discovered this one by total accident. I think it should be more publicized as it is an extremely easy way to ‘refactor’ views that is not available (afaik) in any other rails IDE. Now what we need is some more ruby refactoring macros!


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment