Fix Settable: allow setting a nested value to a non-string

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.4.2
    • Affects Version/s: 6.4.0, 6.4.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      #4487 introduced a regression: one can no longer $set a nested hash value to anything that doesn't implement empty?.

       

      Michael De'hoog has submitted a pull request to fix:

      https://github.com/mongodb/mongoid/pull/4510

            Assignee:
            Samuel Rossi (Inactive)
            Reporter:
            Ben Perlmutter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: