Access "session" from Model

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.

Thanks,

Junrey

Junrey,

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

http://delynnberry.com/projects/userstamp/

V/r
Anthony E.

On 1/3/07, Junrey B. [email protected] wrote:


Posted via http://www.ruby-forum.com/.


Cell: 808 782-5046
Current Location: Melbourne, FL