I am using rails 6 and when i use has_encrypted_column it just throws the binary string instead decrypted value any help here.
has_encrypted_column :date_of_birth
p = PersonalInfo.last
p.date_of_birth is "x313937392d30332d3034"
instead i wanted the value as "1995-08-01"
Any help here.
I am using rails 6 and when i use has_encrypted_column it just throws the binary string instead decrypted value any help here.
has_encrypted_column :date_of_birth p = PersonalInfo.last p.date_of_birth is "x313937392d30332d3034" instead i wanted the value as "1995-08-01" Any help here.