acts_as_favoritor 1.0.1
acts_as_favoritor is a Rubygem to allow any ActiveRecord model to favorite any other model. This is accomplished through a double polymorphic relationship on the Favorite model. There is also built in support for blocking/un-blocking favorite records.
Gemfile:
=
Copiar al portapapeles
¡Copiado!
instalar:
=
dependencias de Runtime (1):
activerecord
>= 4.0