Fix two bugs in BigDecimal mongoization

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 9.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Major Change
    • None
    • None
    • None
    • None
    • None
    • None

      1. demongoize - has redundant elsif object.numeric?
      2. mongoize - missing to_s in return condition when map_big_decimal_to_decimal128 is false

      Refer to PR https://github.com/mongodb/mongoid/pull/5485

              Assignee:
              Neil Shweky (Inactive)
              Reporter:
              Johnny Shields
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: