Index: app/views/account/_user_news_links.rhtml
===================================================================
--- app/views/account/_user_news_links.rhtml (revision 36)
+++ app/views/account/_user_news_links.rhtml (working copy)
@@ -1,9 +1,9 @@
-<% if user.news_items_count == 0 -%>
+<% if user.news_items.count == 0 -%>
<%= current_user.id == user.id ? 'You have' : user.firstname + ' has' %>
not posted any news items.
<% else -%>
<%= current_user.id == user.id ? 'You have' : user.firstname + ' has' %>
- posted <%= pluralize(user.news_items_count, 'news item') %>.
+ posted <%= pluralize(user.news_items.count, 'news item') %>.
<%= link_to 'Click here', :controller => 'news', :action => 'from', :id => user %> to
- read <%= user.news_items_count == 1 ? 'it' : 'them' %>.
+ read <%= user.news_items.count == 1 ? 'it' : 'them' %>.
<% end -%>