Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null value in encrypted column #394

Open
sanjaysalunkhe-ayla opened this issue Oct 21, 2021 · 1 comment
Open

Null value in encrypted column #394

sanjaysalunkhe-ayla opened this issue Oct 21, 2021 · 1 comment

Comments

@sanjaysalunkhe-ayla
Copy link

Hello,

I am using version 1.2.1 of attr_encrypted gem. my rails version is 3.2.21 . Below is my model code

class Device < ActiveRecordBase
attr_encrypted :private_key, :key => proc {|device| device.dsn }
end

Sometimes i am getting null entry in database for column encrypted_private_key. I am not able to reproduced this issue as it is an intermittent issue.

Does anybody face this issue ?

@mzaragoza
Copy link

I am having the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants