search for: 375ff

Displaying 1 result from an estimated 1 matches for "375ff".

Did you mean: 75ff
2007 May 06
3
Using session-type data in an ActiveRecord callback...
Any suggestions on how best to gain access to session-type information while in an ActiveRecord callback, such as after_save? I am encrypting some information in the database, using the generalized encryption/decryption handler in "Agile Web Development With Rails" (p 375ff). I got it working, and now I want to reference a session field (a user PIN) which is NOT stored in the database... for security reasons. I can''t seem to gain access to the session method: 1. attempting to use session[''user''][''pin''] gives me an "...