docbrown/app/models/concerns
Andy Zhao c42fd3461e
[deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926)
* Rename positive_reactions_count to public_reactions_count

* Add positive reactions count back in so we can remove it

* Use public_category method for reactions

* Add positive_reactions_count in case any old caches rely on it

* Add positive_rxn_count to account for API endpoints

* Remove unused method

* One more spot...

* Add method back in because of caches

* Update specs to match new functionality

* Fix typo

* Remove unused methods
2020-05-26 12:36:28 -04:00
..
.keep Initial commit 2018-02-28 16:11:08 -05:00
purgeable.rb [deploy] Copy ActiveRecord methods from fastly-rails (#7145) 2020-04-13 10:46:15 -04:00
reactable.rb [deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926) 2020-05-26 12:36:28 -04:00
searchable.rb [deploy] Delay RemoveFromIndex Job to Fix Callback Race Conditions (#7800) 2020-05-12 14:39:16 -05:00