#16 Gem ActsAsVotable - upvote and downvote with AJAX
13/04/2021
Free
Gem source:
https://github.com/ryanto/acts_as_votable
Source code:
https://github.com/corsego/16-acts_as_votable
Blogpost - install gem:
https://blog.corsego.com/gem-acts-as-votable
Blogpost - best ajax voting:
https://blog.corsego.com/gem-acts-as-votable-2
0:00 Intro
1:08 gem acts_as_votable
4:10 upvote, unvote posts
14:30 summary
15:34 see votes count
20:26 sort posts by rating
20:57 summary of adding votes count
21:40 downvote posts
24:10 final demo
0
Sign in to join the conversation
Recommended based on what you are watching now
![#150 Global Search](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTk0NSwicHVyIjoiYmxvYl9pZCJ9fQ==--2476c8761d99308f56f56d348eaba4dbd0e2b820/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
24:29
#150 Global Search
09/11/2023
Free
1
![#99 Hotwire: Search and Infinite Pagination (Ransack with Pagy)](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTkwNywicHVyIjoiYmxvYl9pZCJ9fQ==--9429f00bc1163e65ceabcba3d4b6c85def259b90/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
17:26
#99 Hotwire: Search and Infinite Pagination (Ransack with Pagy)
09/12/2022
Free