When working in a view it would be really great to be able to select
some code and choose Refactor -> Extract to Partial. This command would:
1. Prompt for the name of the partial
2. Create the partial file and move the selected code into the new file.
3. Insert a "<%= render :partial => 'partial_name' -%>" in the
original view where the code was extracted.