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.
您需要before_filter :update_activity_time
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.