In preparation for ActionCable, in this guide we're going to generate the Comment model, configure the foreign key database relationships, and install the Redis NoSQL database.
In this guide we'll continue building out the comment functionality. Specifically, we'll walk through how to add a comment form to blog pages along with how to render comments on a blog's show page.
In this guide we're going to perform some housecleaning. Specifically, we're going to refactor our comment form so that it is called from a partial instead of the blog show page, additionally, we're going to integrate a number of validations for creating comments.
This is going to be an extensive guide on how to build a set of jQuery functions that manage the data flow for our comment feature. Additionally, these functions will manage the connection between the user's input and ActionCable.
With our jQuery configured, now we're ready to build the broadcast that will manage the data workflow for the live commenting feature. Additionally, we're going to add an ActionCable routing interface as well as update our Comment model to have a callback that communicates with a background job.
This is going to be an exciting guide. With all of the configuration items in place we're ready to finish building out the ActionCable channel and fully implement live updates of comments on our blog pages.
This guide focuses on how to style the new comment section to give it a professional look and feel. Additionally, in this guide we'll walk through how to implement the Gravatar system in order to render thumbnails for each comment.
devCamp does not support ancient browsers.
Install a modern version for best experience.