Get all logged in users?

Hi all, I'm fairly new to Ruby on Rails and I need some help on what is a fairly standard part of many web applications today.

I need a way to know all users who are currently logged in. This can be used for keeping track of your friends in the community etc...

I would appreciate any advice on what the best way to solve this would be in RoR.

Thanks,

Joel.

Thanks a lot Michal. You just made my weekend happy again :slight_smile: