rootstrap / active-storage-base64

Base64 support for ActiveStorage
https://rootstrap.com
MIT License
160 stars 16 forks source link

fix: allow empty hash to nullify attachable #71

Closed quangatlas closed 2 years ago

quangatlas commented 2 years ago

Summary

When a params is sent as null, the attachable.nil? will be false and I cannot nullify the attachment.

Other Information

I'm not sure if this behavior is intended, but I made the change in our repo and want to make one here. If it's not applicable you can just close it. Thanks for the gem.

quangatlas commented 2 years ago

Actually I will close it because it was tested against tag v1.2.0 which is not master.