Cause of this problem is very simple, one answer is to do change in
users/index.html.erb:
from:
<%= paginate @users %>
<%= render @users %>
to:
<%= paginate @users %>
<%= render 'user' %>
but if you (or rather I) want to render collection I should have in my partial
users/_user.html.erb:
<tr>
<td><%= user.id %></td>
<td><%= user.login %></td>
<td><%= user.email %></td>
#(and so on...)
<% end %>
</tr>
and only that (part of table that will be called for each record from database)
so now index.html.erb looks like that:
users/index.html.erb
<table>
<tr>
<th>Id</th>
<th>Name</th>
#(and whatever you want)
</tr>
<%= render @users %>
</table>
Now the table will render properly.