diff options
-rw-r--r-- | app/models/refinery/blog/post.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb index 9cf66d6..f0278f4 100644 --- a/app/models/refinery/blog/post.rb +++ b/app/models/refinery/blog/post.rb @@ -104,7 +104,7 @@ module Refinery end def published_dates_older_than(date) - published_before(date).pluck(:published_at) + published_before(date).select(:published_at).map(&:published_at) end def recent(count) |