How to override current_user?


I would like to override the current_user def, because I don't really

like to store whole User model in a session, just user_id. I would like
to current_user fetch the user from db instead.


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