#pluck broken with localized + aliased fields (needs to cover both non-embedded and embedded cases)

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Ruby Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The following cases do not work as intended, and return nil:

      • #pluck with localized + aliased field
      • #pluck with embedded + localized + aliased field

      I think the best fix will patch #cleanse_localized_field_names so that it correctly calls database_field_name after removing _translations from the name.

            Assignee:
            Jamis Buck
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: