Learn Hotwire by Building a Forum
Buy now
Learn more
Getting started
Bootstrapping our Rails app
Installing Hotwire
Setting up our User system (Devise)
Adding a basic Navbar
Flash Messages
Current Attributes
Discussions
Create discussion model
Discussion List
Creating discussions
Edit Discussions
Remove discussions
Discussion show with inline editing
to_param for friendly links
Realtime Discussions (for everyone!)
Posts
Installing ActionText + ActiveStorage
Adding our Post model
Create a post when you create a Discussion
Create posts on discussion show
Showing posts
Realtime post creation for everyone.
Edit posts (+ realtime)
Removing posts (+ realtime)
Adding Categories
Creating Categories (Category CRUD)
Add Categories to Discussion Index
Category Filtering
Moving Discussions between Categories
Enhancements
Close discussions in Realtime
Pin posts to the top
Reducing N+1s
Lazy load post actions
Install Pagy
Paginating Discussions
Paginating Posts on Discussions
Refactoring DiscussionsController#update
Notifications
Create DiscussionSubscription model
DiscussionSubscription toggle method
Display subscription status
Updating a subscription status from the UI
Install Noticed / Generating our first notification
Notifications UI
Sending the new post notification email
Deployment
Final touches before Deployment
Deploy to Heroku
Products
Course
Section
Discussions
Discussions
Learn Hotwire by Building a Forum
Buy now
Learn more
Getting started
Bootstrapping our Rails app
Installing Hotwire
Setting up our User system (Devise)
Adding a basic Navbar
Flash Messages
Current Attributes
Discussions
Create discussion model
Discussion List
Creating discussions
Edit Discussions
Remove discussions
Discussion show with inline editing
to_param for friendly links
Realtime Discussions (for everyone!)
Posts
Installing ActionText + ActiveStorage
Adding our Post model
Create a post when you create a Discussion
Create posts on discussion show
Showing posts
Realtime post creation for everyone.
Edit posts (+ realtime)
Removing posts (+ realtime)
Adding Categories
Creating Categories (Category CRUD)
Add Categories to Discussion Index
Category Filtering
Moving Discussions between Categories
Enhancements
Close discussions in Realtime
Pin posts to the top
Reducing N+1s
Lazy load post actions
Install Pagy
Paginating Discussions
Paginating Posts on Discussions
Refactoring DiscussionsController#update
Notifications
Create DiscussionSubscription model
DiscussionSubscription toggle method
Display subscription status
Updating a subscription status from the UI
Install Noticed / Generating our first notification
Notifications UI
Sending the new post notification email
Deployment
Final touches before Deployment
Deploy to Heroku
8 Lessons
Create discussion model
Discussion List
Creating discussions
Edit Discussions
Remove discussions
Discussion show with inline editing
to_param for friendly links
Realtime Discussions (for everyone!)