RubyGems Navigation menu

acts_as_favoritor 4.0.3

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 6.0.1 - October 03, 2023 (11.0 KB)
  2. 6.0.0 - April 24, 2022 (11.0 KB)
  3. 5.0.3 - September 16, 2021 (11.0 KB)
  4. 5.0.2 - September 16, 2021 (11.0 KB)
  5. 5.0.1 - December 06, 2020 (10.5 KB)
  6. 4.0.3 - October 10, 2019 (11.0 KB)
显示所有版本 (共 29 个)

Runtime 依赖 (1):

activerecord >= 5.0

Development 依赖 (7):

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

业主:

推送:

作者:

  • Jonas Hübotter

SHA 256 校验和:

c4e842e63385de7422c3ab538d2e59f7c0e08a533882b2064a7d273571a6d57d

下载总量 620,982

这个版本 410,090

许可:

MIT

需要的 Ruby 版本: >= 2.5

链接: