method

reset

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: DetachOne
reset() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/attached/changes/detach_one.rb, line 19
      def reset
        record.attachment_changes.delete(name)
        record.public_send("#{name}_attachment=", nil)
      end
Register or log in to add new notes.