Forum: Ruby on Rails Userstamp help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms. (Guest)
on 2005-11-21 22:14
(Received via mailing list)
I want to create a user stamp functionality.  user stamp would work like
timestamp.  columns named 'created_by' or 'modified_by' would
automatically have the current session user's id inserted into it.

To do this I need to pass part of the sessions instance variable to each
model that is called from a controller.  I don't want to explicitly pass
it in the save, create, or update method call of the model.

Is this even possible?
How would you go about getting the data from the controller to the

This topic is locked and can not be replied to.