Synkevych / realtime_user_tracking

The simplest example of how ActionCable works - tracks whether a user is online or not.
https://count-online-users.herokuapp.com
7 stars 2 forks source link

Return only the current user and not an array of users #13

Closed Synkevych closed 3 years ago

Synkevych commented 3 years ago

https://github.com/Synkevych/realtime_user_tracking/blob/046b48e98d2f8c4d9cda5e1498db4b0b826dd04f/app/models/user.rb#L35