RubyGems Navigation menu

acts_as_favoritor 1.5.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!

instalar:
=

Versões:

  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. 1.5.0 - September 02, 2017 (21,5 KB)
Mostrar todas as versões (29)

Runtime Dependencies (1):

activerecord >= 4.0

Development Dependencies (6):

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

Donos:

Autores:

  • Slooob

SHA 256 checksum:

ba6a4cc25ce6260b732ed1d83b8e14d45f6a66dd0e0f48ce3a08d2899c5c20bc

Total de downloads 622.786

Desta versão 2.283

Licença:

MIT

Versão Requerida do Ruby: >= 2.3

Links: