You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the store method in CargoRepository does a find first, then a delete if it finds a document. It does this because it had trouble detecting that a Cargo document already existing when doing an update after the Delivery object had been updated.
There should be a way to make this work without the find and delete step, and without having to store an extra Mongoid attribute in Cargo.
The text was updated successfully, but these errors were encountered:
Currently the
store
method inCargoRepository
does a find first, then a delete if it finds a document. It does this because it had trouble detecting that a Cargo document already existing when doing an update after the Delivery object had been updated.There should be a way to make this work without the find and delete step, and without having to store an extra Mongoid attribute in Cargo.
The text was updated successfully, but these errors were encountered: