Add missing find_first & one methods to Mongoid::Contextual::None

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 7.1.11, 7.2.6, 7.3.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      As part of review of the proposed PR for https://jira.mongodb.org/browse/MONGOID-4755 I wrote an integration test to verify all contexts behave the same.

      While writing this test I noticed that None context doesn't implement find_first and one, which are trivial to add.

              Assignee:
              Oleg Pudeyev (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: