Forum: Ruby on Rails Access "session" from Model

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.
Junrey B. (Guest)
on 2007-01-03 18:48
Is there a way to access the session variable from the Model or
Observer? Is there a better approach?

I wanted to get the variable from the session to set the user who
created a certain record.


Anthony E. (Guest)
on 2007-01-03 19:21
(Received via mailing list)

Consider looking at the UserStamp plugin. It does exactly what you are
looking for.

Anthony E.

On 1/3/07, Junrey B. <removed_email_address@domain.invalid> wrote:
> --
> Posted via
> >

Cell: 808 782-5046
Current Location: Melbourne, FL
This topic is locked and can not be replied to.