mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
fix my broken test
This commit is contained in:
parent
a2cca2540e
commit
ea8d69fbd6
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ class User < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def update_topic_reply_count
|
||||
topic_reply_count =
|
||||
self.topic_reply_count =
|
||||
Topic
|
||||
.where(['id in (
|
||||
SELECT topic_id FROM posts p
|
||||
|
|
Loading…
Reference in a new issue