docbrown/config/environments
Josh Puetz 802e225a07
[deploy] Add top comments to articles feed (#6988)
* 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>
2020-04-13 10:21:03 -04:00
..
development.rb [deploy] Add top comments to articles feed (#6988) 2020-04-13 10:21:03 -04:00
production.rb [deploy] Make force_ssl an environment variable to make sure new communities can get proper ssl config. (#7090) 2020-04-08 14:23:50 -04:00
test.rb [deploy] Add top comments to articles feed (#6988) 2020-04-13 10:21:03 -04:00