I have list of blogs with usernames

<% for @blogs in @blogs.reverse %>
<% @user = @blogs.user %><br>
<%= @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
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to