Save 36% for Black Friday! Learn more

All threads / Showing online users in chatroom sidebar

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Showing online users in chatroom sidebar

Bina Darabzand asked in Rails

Hi
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 [https://github.com/bdarab/all-in-one] .
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?
Thanks.

Join the discussion

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

Join 39,376+ 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.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.