table_sync
table_sync copied to clipboard
Undefined behavior when using the if and unless predicates
Now:
If I setup synchronization with if predicate like
TableSync.sync(self, if: -> (*) { syncable? })
model will send updates if predicate is truthy, but destroy will always send.
What I want: The model must check predicates when sending both types of updates.