Forum: Rails Engines How to override current_user?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dcbf676f860477e44b275cae5d6318a4?d=identicon&s=25 Piotr Usewicz (lopmx)
on 2006-03-29 14:27
(Received via mailing list)
Hello

	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.

Peter
This topic is locked and can not be replied to.