fixes #2812: StatementInvalid exception on all Profile Pages

This commit is contained in:
Albert Yi
2016-12-29 14:39:24 -08:00
parent 527d118055
commit 74d02bde44
2 changed files with 2 additions and 2 deletions

View File

@@ -674,7 +674,7 @@ class User < ActiveRecord::Base
end
def pool_version_count
PoolVersion.for_user(id).count
PoolArchive.for_user(id).count
end
def forum_post_count