Skip to content

Instantly share code, notes, and snippets.

@javierav
Created November 6, 2024 13:26
Show Gist options
  • Save javierav/a81bd289995e31dd98371c926a358a1e to your computer and use it in GitHub Desktop.
Save javierav/a81bd289995e31dd98371c926a358a1e to your computer and use it in GitHub Desktop.

ActiveStorage

Eliminar todas las variantes

ActiveStorage::VariantRecord.find_each(&:destroy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment