pluck doesn't work with `id`

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.1.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Jordan
              Reporter:
              kandadaboggu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: