Skip to content

Fatmylin/chat_app_in_hotwire

Repository files navigation

README

How to set up

  • bundle install
  • brew install redis

Reference

Hotwire Hotrails

Note

  • In the video, it empties the create.turbo_stream.erb to prevent duplicate render a message while in this repo the turbo seems fix the bug.
  • In the video, the author tries to update the message content in the console and ActionCable send out the broadcast to the broweser in order to rerender the message, but I cannot make it by following his steps. I guess is due to the configuration in cable.yml, which sets develop env as :async, so I update it by using redis and then the browser finally can receive the broadcast and show the latest changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published