I’m using active record for sessions. I’m just noting that in terms of
picking up the number of active users from the “session” table, that
works fine however it seems to MISS picking up one’s own active session
the situation when it is first access to the page (i.e. it the request
your session gets created).
For example if I navigate to my site:
- first hit: active users list don’t include me (as it seems the session
record is not yet in the sessions table)???
- subsequent hits to site: everything is then fine
Can anyone tell me how to ensure the newly created session is persisted
the database prior to the "before_filter"s running?? (i.e. I use a
filter to populate an instance variable with the list of active users,
from a query to the database)???