Check Attachment is updated or not in parent model for Active storage attachments

后端 未结 0 853
悲哀的现实
悲哀的现实 2020-12-29 23:43

I am migrating the attachments from paperclip to Active storage.

In paperclip, we can check whether the file is updated by using the active model dirty as below,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题