Storing additional data in the session


I’m using the session db table to store additional data. When a user
logins I would like to store their user id in the session record and
save that.

I’m thinking of x = Session.find( and then

Is this the right way to do it?

Thanks, Joel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs