joescharf/acts_as_secure

Doesn't work with callbacks

Opened this issue · 0 comments

There is an issue with callbacks - because acts_as_secure uses before_save and after_save, if in your own rails model you also use say after_update and save the record in the method, it will double-encrypt the field which is incorrect. I'm not sure if I have a solution yet... anyone else has any ideas?