does refactor partial work? Follow
Hi,
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>
<table>
<tr>
<th>Flight</th>
<th>Name</th>
<th>Baggage</th>
</tr>
<% for seat in @seats %>
<tr>
<td><%=h seat.flight_id %></td>
<td><%=h seat.name %></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>
</tr>
<% end %>
</table>
<br />
* end refactory content
# following is contents of partial refactor file
<h1>Listing seats</h1>
Please sign in to leave a comment.
Looks like: http://youtrack.jetbrains.net/issue/RUBY-2397