Hey guys,
How do you extract a partial in a Rails project? Like selecting a few lines, do and the result should be:
- The selection is replaced with <%= render “partial_name” %>
- A new file is created in the current directory named ./_partial_name.html.erb
Thanks