All threads / Active PAGES & User(s)

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 :)

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?

Join the discussion

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

Join 38,558+ 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.