https://github.com/justalever/hotwire_comments
Hotwire Comments with Ruby on Rails Tutorial
https://github.com/justalever/hotwire_comments
hotwire hotwire-turbo hotwired rails ruby ruby-on-rails
Last synced: 5 months ago
JSON representation
Hotwire Comments with Ruby on Rails Tutorial
- Host: GitHub
- URL: https://github.com/justalever/hotwire_comments
- Owner: justalever
- Created: 2024-05-28T19:53:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T19:21:17.000Z (about 2 years ago)
- Last Synced: 2025-04-02T10:55:23.758Z (over 1 year ago)
- Topics: hotwire, hotwire-turbo, hotwired, rails, ruby, ruby-on-rails
- Language: HTML
- Homepage: https://webcrunch.com/posts/hotwire-comments-rails
- Size: 3.95 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Hotwire Comments with Ruby on Rails
This tutorial will guide you through adding Hotwire-enabled comments to a simple Rails blog application. You'll learn how to:
- Create a basic blog with Rails 7.1
- Create a comment model and controller.
- Build a comment form with Hotwire.
- Display and update comments in real time.
### Some prerequisites
- A Rails 7 application (Hotwire is compatible with Rails 7 and later)
- Basic knowledge of Rails and JavaScript
### Links
- Read the blog post (full tutorial): https://webcrunch.com/posts/hotwire-comments-rails
- Watch the video tutorial: https://youtu.be/WSzliaAeRVU