at8eqeq3/twietry — Issue #11: 500 ошибка в логе
Author: at8eqeq3
Created: 2012-01-28 13:10:09+00:00
State: open
Labels: bug

Вот такая печалька есть в логе, и много ее:

ActionView::Template::Error (undefined method 'user' for nil:NilClass):
4: - if params[:user_id]
5: %small
6: = t(:'activities.attribution')
7: = link_to @activities.first.user.name, @activities.first.user
8: = render :partial => @activities
app/views/activities/index.html.haml:7 in '_app_views_activities_index_html_haml__1049026480_17228207920'