Acts as Votable

Learn how to add like/dislike functionality to your application using the 'acts_as_votable' gem.

The next thing you will be adding to your application is a way to upvote/downvote links. To do this, you will be using the acts_as_votable Ruby gem.

The gem allows you to perform actions such as upvote/downvote for any of your ActiveRecord models. Any model can vote, and any model can be voted on.

Get hands-on with 1200+ tech skills courses.