diff --git a/app/views/feeds/index.html.haml b/app/views/feeds/index.html.haml index b7e6085..f7d47d4 100644 --- a/app/views/feeds/index.html.haml +++ b/app/views/feeds/index.html.haml @@ -17,7 +17,7 @@ %td .feed_title = link_to f.title, f - %td.right= f.posts.size + %td.right= f.posts.count %td - if f.last_fetched.nil? never diff --git a/app/views/feeds/show.html.haml b/app/views/feeds/show.html.haml index f29473b..47e981b 100644 --- a/app/views/feeds/show.html.haml +++ b/app/views/feeds/show.html.haml @@ -9,7 +9,7 @@ Validate %p - = pluralize(@feed.posts.size, "post") + = pluralize(@feed.posts.count, "post") %p = link_to @feed.feed_url, @feed.feed_url