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
I'd been trying use to_h to get hashes that I could use slice on but ran into a kind of odd issue where values that were nil on the Xero object turned into {} in the hash. Turns out:
irb(main):001:0> nil.to_h
=> {}
So it seems buggy that we're not handling nil values separately in the to_h:
I'd been trying use
to_h
to get hashes that I could useslice
on but ran into a kind of odd issue where values that were nil on the Xero object turned into{}
in the hash. Turns out:So it seems buggy that we're not handling
nil
values separately in theto_h
:xeroizer/lib/xeroizer/record/base.rb
Line 143 in 7de4747
The text was updated successfully, but these errors were encountered: