diff options
Diffstat (limited to 'app')
-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 ddfc3cc..9f672c5 100644 --- a/app/models/refinery/blog/post.rb +++ b/app/models/refinery/blog/post.rb @@ -72,7 +72,7 @@ module Refinery end def published_dates_older_than(date) - where("published_at <= ?", date).map(&:published_at) + where("published_at <= ?", date).pluck(:published_at) end def live |