NoMethodError in Blogs#show

Showing /home/mkeller/freizeitfreunde/app/views/blogs/_comment_list.html.erb where line #11 raised:

undefined method `login' for nil:NilClass
Extracted source (around line #11):
9
10
11
12
13
14
              
<tr>
<td style="vertical-align:top;"><b>
<%= comment.user.login %>
</b>
<%= comment.created_at.strftime(fmt='%d.%m.%y') %>:
</td><td class="comment"> <%=h comment.inhalt %>

Trace of template inclusion: #<ActionView::Template app/views/blogs/show.html.erb locals=[]>

Rails.root: /home/mkeller/freizeitfreunde

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"1083"}

Response

Headers:

None