acts_as_favoritor 1.2.0
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:
=
In die Zwischenablage kopieren
Kopiert!
installieren:
=
Runtime Abhängigkeiten (1):
activerecord
>= 4.0
Development Abhängigkeiten (6):
factory_girl
~> 4.8
rails
>= 4.0
shoulda
~> 3.5
shoulda_create
~> 0.0
sqlite3
~> 1.3
tzinfo-data
~> 1.2017