does refactor partial work?


Rubymine 2.0 beta 2

When I perform a partial refactor of the following not all of the content I refactored is copied to new file.

* Begin partial refactor content

<h1>Listing seats</h1>


<% for seat in @seats %>
    <td><%=h seat.flight_id %></td>
    <td><%=h %></td>
    <td><%=h seat.baggage %></td>
    <td><%= link_to 'Show', seat %></td>
    <td><%= link_to 'Edit', edit_seat_path(seat) %></td>
    <td><%= link_to 'Destroy', seat, :confirm => 'Are you sure?', :method => :delete %></td>
<% end %>

<br />

* end refactory content

# following is contents of partial refactor file

<h1>Listing seats</h1>

Please sign in to leave a comment.