acts_as_favoritor is a Rubygem to allow any ActiveRecord model to associate any other model including the option for multiple relationships per association with scopes. You are able to differentiate followers, favorites, watchers, votes and whatever else you can imagine through a single relationship. This is accomplished by a double polymorphic relationship on the Favorite model. There is also built in support for blocking/un-blocking favorite records as well as caching.
Required Ruby Version
>= 2.3
Authors
Jonas Hübotter
Versions
- 6.0.2 July 12, 2024 (11 KB)
- 6.0.1 October 03, 2023 (11 KB)
- 6.0.0 April 24, 2022 (11 KB)
- 5.0.3 September 16, 2021 (11 KB)
- 5.0.2 September 16, 2021 (11 KB)
- 4.0.0 May 05, 2019 (10.5 KB)