Belongs_to into a list

I have list of blogs with usernames

<% for @blogs in @blogs.reverse %>
<% @user = @blogs.user %>

<%= @user.login %>

but the user.login is a no method error. when i in a view of a specific
blog the user.login is returned well
but in the list of all blogs i have no idea to view the user.login for
all blogposts