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
The current default :roundrobin allocator allows pennies to fall in different directions depending on whether the amounts are positive or negative. This is neither incorrect or correct, but could be surprising to money gem clients.
A potential suggestion is introduce a new allocation strategy called :balanced or something :symmetrical that guarantees the same result will be produced with positive and negative amounts.
A bigger question is whether the current default of :roundrobin can be replaced with this new default... this could break the contract that they money gem has with existing customers.
The text was updated successfully, but these errors were encountered:
The current default
:roundrobin
allocator allows pennies to fall in different directions depending on whether the amounts are positive or negative. This is neither incorrect or correct, but could be surprising to money gem clients.A potential suggestion is introduce a new allocation strategy called
:balanced
or something:symmetrical
that guarantees the same result will be produced with positive and negative amounts.A bigger question is whether the current default of
:roundrobin
can be replaced with this new default... this could break the contract that they money gem has with existing customers.The text was updated successfully, but these errors were encountered: