I have a class in which the data is encrypted and stored for all
fields.
Whenever the record is loaded from database, the data should be
decrypted.
If there was a after_find callback, we could have done the decryption
in that, but after_find doesnot exist.
So how can we implement after_find or is there any other callback
which can be useful.
Regards,
Pankaj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---