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

pluck doesn't work with `id`

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.1.3
    • Affects Version/s: None
    • Component/s: None

      I noticed that pluck doesn't work with id. I had to use _id.

      User.pluck(:id) # doesn't work
      User.pluck(:_id) # works

      Is this the intended behavior?

            Assignee:
            durran Durran Jordan
            Reporter:
            kandadaboggu kandadaboggu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: