Commit c0a94f70 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Add a line before conditional in encrypt columns class

parent ff4520a4dc4e
......@@ -78,6 +78,7 @@ def encrypt!(instance, attributes)
if instance.changed?
instance.save!
if clear_migrated_values?
instance.update_columns(to_clear)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment