Ask A Question

Notifications

You’re not receiving notifications from this thread.

Active PAGES & User(s)

Menj Villalobos asked in General

Hi,
Do you have any tutorials or guide on how to show/list all active "pages" & "users"?

ex.
Home Page, one "div" will list all active pages where the user(s) currently viewing or browsing and next "div" would be
list of "active user(s)".

Thanks :)

Reply

If you're looking at building some sort of realtime analytics thing, you'll just want to make sure that you log those actions (like a pageview) and then you can query that data for recent pageviews (say within the last 5 minutes). Does that make any sense?

Reply
Join the discussion

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

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

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

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

    © 2023 GoRails, LLC. All rights reserved.