From 9abe303b3197b434869dd6dd641fe7d4ab0258ce Mon Sep 17 00:00:00 2001 From: rgarcia Date: Sun, 16 Aug 2015 23:04:36 +0200 Subject: [PATCH] removes unused method --- app/models/comment.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 696b363ce..b8182b04f 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -40,7 +40,4 @@ class Comment < ActiveRecord::Base children.count end - def descendants_count - descendants.count - end end