i have used the ‘sentry’ validation
in the model i did
generates_crypted :cc_number, :mode => :symmetric
and changed in the database cc_number to crypted_cc_number
all this work when saving(creating) a new entry, but when i want the
value back for display, it doesnt work.
how do i get the value with, .cc_number or .crypted_cc_number,
in the doc it says .cc_number,…
password is encrypted and saved to crypted_password in the database,
model.password is cleared and becomes a virtual field.
anyone can help??