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

AR Feature Parity first!/last!/second etc.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 8.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      This ticket should be used to implement all of the ActiveRecord finder methods that Mongoid does not have. These include:

      • first!
      • last!
      • second(!)
      • third(!)
      • fourth(!)
      • fifth(!)
      • forty_two(!) (for fun)
      • second_to_last(!)
      • third_to_last(!)
        These 16 methods should not take so long to implement, as they are all rather similar and just take a different skip, limit, and sort.

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: