This commit is contained in:
r888888888
2014-02-28 14:53:41 -08:00
parent 89337dfdf2
commit fee7228aaf

View File

@@ -81,7 +81,7 @@ class UserPresenter
arel = arel.where("posts.is_deleted = false")
end
arel.map(&:post)
arel.map(&:post).compact
end
end