One thing to note that I might have omitted is Active Record expects a string when it tries to encrypt. So if you're trying to encrypt anything else, like an integer, you'll run into issues. There's ways to address this but that will need to be a dedicated video I think. Hope this helps nonetheless!
is there a database flag from which you can tell whether row data is encrypted or not? that is if we wanted to delete unencrypted data at some point we could do it using that flag or maybe keep the old unencrypted data but encrypt it.
One thing to note that I might have omitted is Active Record expects a string when it tries to encrypt. So if you're trying to encrypt anything else, like an integer, you'll run into issues.
There's ways to address this but that will need to be a dedicated video I think. Hope this helps nonetheless!
I'm planning on using by the end of the year in the project I'm working on. Really enjoy your tutorials.
Amazing : )
is there a database flag from which you can tell whether row data is encrypted or not? that is if we wanted to delete unencrypted data at some point we could do it using that flag or maybe keep the old unencrypted data but encrypt it.