-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
🔵 Done
-
Fully Compatible
-
Ruby Drivers
-
Not Needed
-
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.
- is duplicated by
-
MONGOID-5901 Incongruency with #pluck with localized fields on loaded relations vs. scopes
-
- Closed
-