* Add 'top_comments' to article feed * Only include root comments * Cache and eagerly load top comments * Clear top comments cache when article score is updated * Add articles.top_comments to bullet whitelist * Update app/models/article.rb Co-Authored-By: rhymes <rhymesete@gmail.com> * Remove limit in top_comments association, remove Rails caching of top comments * Remove unnecessary test Co-authored-by: rhymes <rhymesete@gmail.com> |
||
|---|---|---|
| .. | ||
| development.rb | ||
| production.rb | ||
| test.rb | ||