DatabaseCleaner / database_cleaner-active_record

Strategies for cleaning databases using ActiveRecord. Can be used to ensure a clean state for testing.
MIT License
64 stars 63 forks source link

Add a WHERE clause to delete statement #77

Closed Connorhd closed 1 year ago

Connorhd commented 2 years ago

Spanner (https://github.com/googleapis/ruby-spanner-activerecord) requires a WHERE clause to execute DELETE statements, this change is all that seems to be required for this gem to work with that database type.