Index: app/views/address_book/index.rhtml =================================================================== --- app/views/address_book/index.rhtml (revision 36) +++ app/views/address_book/index.rhtml (working copy) @@ -11,10 +11,10 @@ You can click on your name or photo to change your contact information.
<% end -%> - <% unless user.news_items_count == 0 -%> + <% unless user.news_items.count == 0 -%> <%= render :partial => 'account/user_news_links', :locals => {:user => user} %> <% end -%> -<% end %> \ No newline at end of file +<% end %>