RubyGems Navigation menu

acts_as_favoritor 3.0.0

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 6.0.1 - October 03, 2023 (11 KB)
  2. 6.0.0 - April 24, 2022 (11 KB)
  3. 5.0.3 - September 16, 2021 (11 KB)
  4. 5.0.2 - September 16, 2021 (11 KB)
  5. 5.0.1 - December 06, 2020 (10.5 KB)
  6. 3.0.0 - May 04, 2019 (11 KB)
Show all versions (29 total)

Runtime Dependencies (1):

activerecord >= 5.0

Development Dependencies (6):

rails >= 0
rubocop >= 0
sqlite3 >= 0

Owners:

Authors:

  • Jonas Hübotter

SHA 256 checksum:

a45c2b26f0ac4d8f979ea3cdd6bd379e2ae90fdc89d1187d4831a5fb0e1e8a15

Total downloads 625,506

For this version 2,181

License:

MIT

Required Ruby Version: >= 2.3

Links: