1
0

Test pass: test_destroy

Expand Targets #update success flash and failure handling
Add Target index table checks in modification actions tests
This commit is contained in:
cryptogopher
2021-04-29 01:30:13 +02:00
parent 5b80272ae0
commit 4eda035e47
5 changed files with 76 additions and 10 deletions

View File

@@ -63,6 +63,7 @@ module Validations::NestedUniqueness
end
end
if records
# TODO: reset collction, not proxy
collection.proxy_association.reset
records.each { |r| collection.proxy_association.add_to_target(r) }
end