RubyGems Navigation menu

acts_as_favoritor 2.1.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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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. 2.1.0 - July 25, 2018 (13 KB)
Mostrar todas las versiones (29 total)

dependencias de Runtime (1):

activerecord ~> 5.2

dependencias de Development (6):

rails ~> 5.2
rubocop >= 0
shoulda >= 0
sqlite3 >= 0

Propietarios:

Autores:

  • Jonas Hübotter

SHA 256 checksum:

0eb22060877af2636740b6508e06bb183099e17a0b3e2d703c5979e5585659d4

Total de descargas 624.801

Para esta versión 9.021

Licencia:

MIT

Versión de Ruby requerida: >= 2.3

Enlace: