RubyGems Navigation menu

acts_as_favoritor 2.0.1

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 (11KB)
  2. 6.0.0 - April 24, 2022 (11KB)
  3. 5.0.3 - September 16, 2021 (11KB)
  4. 5.0.2 - September 16, 2021 (11KB)
  5. 5.0.1 - December 06, 2020 (10.5KB)
  6. 2.0.1 - January 01, 2018 (14.5KB)
全てのバージョンを表示(全29件)

Runtime依存関係 (1):

activerecord >= 5.0

Development依存関係 (6):

factory_girl ~> 4.8
rails >= 5.0
shoulda ~> 3.5
sqlite3 ~> 1.3
tzinfo-data ~> 1.2017

所有者:

作者:

  • Jonas Hübotter

SHA 256チェックサム:

d7eedbe9fde263bd93ca4fe1e91ae4618129b12b12d8e00b9d0cb5d98a24cf4e

累計ダウンロード数 626,923

このバージョンのみ 3,767

ライセンス:

MIT

必要なRubyのバージョン: >= 2.3

リンク: