Change MoneyMove model #2
Reference in New Issue
Block a user
Delete Branch "implement-new-logic-for-ledger-update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ako save! ne uspije, desit će se exception, pa pošto ranije nije hendlan, nisam ništa dodao oko toga (mada mislim da bi trebalo dodati rescue pa vratiti false eventualno)
Iz istog razloga nisam dodao rescue iznad, kod kreiranja
move_fromimove_tounutar kojih se može desiti exception (kad se traži Homie)Kod prethodnog načina je bila greška gdje je trebalo još dodati parametar broj decimala, pa sam čitajući o BigIntu vidio da u railsu može ići
.to_d. Ima li neke negativne posljedice ili može ovako ?Remove To: and From: as these strings need to be translated so just [#{to_homie_name}] is ok.
save as integer ( number of cents )
changed this line in version 2 of the diff
added 1 commit
3cc8cb7d- change description formatCompare with previous version
mentioned in commit
0045c19b0emerged