Observer globals


I would like read access to ActionController’s request and session
objects inside a model observer.

any ideas?


it’s called a model observer, not view or controller observer…

you should rethink your application structure…

what problem do you want to solve??

2007/2/6, Keynan P. removed_email_address@domain.invalid:


I have an audit trail observer that updates table audit trail when ever
an asset is altered. I want to record the user_id and remote ip in the
audit trail table.