I'm evaluating this gem for a project and have set up some fields on an existing model and running tests in console on a Ruby 2.4.2/Rails 5.0.6, SE 4.0.0 system in development mode. I'm having issues saving/encrypting non-string fields. Example on date field follows.
I'm evaluating this gem for a project and have set up some fields on an existing model and running tests in console on a Ruby 2.4.2/Rails 5.0.6, SE 4.0.0 system in development mode. I'm having issues saving/encrypting non-string fields. Example on date field follows.
symmetric-encryption.yml:
model:
rails console:
I tried encrypting the return on the Date.parse method using SymmetricEncryption.encrypt and then setting loan.date to that but also failed.
String fields work fine. I'm sure I've miss-configured something. Help is much appreciated.