All threads / Showing online users in chatroom sidebar
Ask A Question


You’re not receiving notifications from this thread.

Showing online users in chatroom sidebar

Bina Darabzand asked in Rails

I am building a website ("All-In-One") with articles publishing and a chatroom. The basic is done and apparently, everything works. So, now I'm working on better styling and details. here is the repository in Github [] .
I am having a problem with the sidebar of my chatroom showing the users in the chatroom. I try many ways, "created_at", "Action Cable", "jQuery" with no avail.
I tried many tutorials online, but they were all using "Devise" or other third party gems that I have not used in my app. I have made everything from scratch, which, so far, have conflicted with my codes and break the app up.
Any suggesstions to help me through this?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 68,326+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.