From f7b57403c6b469722a34362cde6526cc172ea813 Mon Sep 17 00:00:00 2001 From: Ganesh Jadhav <35261048+Ganeshjadhav221b@users.noreply.github.com> Date: Tue, 18 Aug 2020 21:55:37 +0530 Subject: [PATCH] Updated node.rb (#8311) --- app/models/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/node.rb b/app/models/node.rb index 3a453a93c84..07b3d50005c 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -254,7 +254,7 @@ def files end def answered - answers&.length&.positive? + answers&.size&.positive? end def has_accepted_answers