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,
after_update_commit :notify_users, if: :saved_change_to_file_updated_at?
But in Active storage, how can we check whether the file is updated, Can anyone help on this?