Closed Azdaroth closed 7 years ago
Current behavior may lead to some pretty unexpected bugs, e.g. such code:
sync_options = { scope: Account.first } Booking.synchronize(sync_options)
would raise ArgumentError when running more than one time, because the sync_options hash has been modified. Best to clone the options hash and work with new object.
ArgumentError
sync_options
@Mandaryn I think this has been solved by #53 so can be closed.
Current behavior may lead to some pretty unexpected bugs, e.g. such code:
would raise
ArgumentError
when running more than one time, because thesync_options
hash has been modified. Best to clone the options hash and work with new object.