Like button with Ruby on Rails
In this episode, you'll learn how to add a simple like button with Ruby on Rails. We'll show how to like and unlike a post, how to use button_to or a raw form, and validate that a user can't like a post twice.
#rails #rubyonrails