Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4578

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.4.2
    • Affects Version/s: 6.4.0, 6.4.1
    • Component/s: 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:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            ben.perlmutter@mongodb.com Ben Perlmutter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: