views:

18

answers:

1

I'm trying to do this update_activity_time everytime a user does something in the app.

Ive done this http://blog.tmisoft.com/2009/09/restful-authentication-session-timeout.html

the error I get is undefined local variable or method when I did

before_filter update_activity_time at the top of my controller.

+2  A: 

You need before_filter :update_activity_time

meagar