Forum: Ruby on Rails [Q] How run Custom code on each request/action

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.
Mathieu C. (Guest)
on 2006-04-10 18:15
(Received via mailing list)

For obscure reasons I'll like to reset a session key when
request/action is outside a specific controller.

Is there a common place in the app where I can put such code, instead
of adding statements in each controllers ?


Steve L. (Guest)
on 2006-04-10 18:21
(Received via mailing list)
application.rb, before_filter
This topic is locked and can not be replied to.