ankane / lockbox

Modern encryption for Ruby and Rails
MIT License
1.46k stars 68 forks source link

Do we have option to run Migration skipping callbacks for the model #156

Closed rrdharmesh closed 2 years ago

rrdharmesh commented 2 years ago

Currently,

when we run Lockbox.migrate(Model), records are getting saved with encrypted values but this also triggers callbacks defined in the model. is there any option to skip callbacks for model migration?

ankane commented 2 years ago

Hey @rrdharmesh, check out #140.