Creating, Updating, and Deleting is super common in any application. In our application, we’ve already made endpoints for posts. In this episode, we continue to expand on the comment controller from before and uncomment/enable the pieces necessary for our comments API endpoints.

⏱️ Timestamps:

  • 00:00 - Introduction
  • 00:24 - Readme
  • 01:23 - Serializers Code changes
  • 04:30 - policy and controller changes
  • 07:20 - spec changes



#ruby #ruby-on-rails

Adding API comment endpoints to Ruby on Rails API app
1.95 GEEK