You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MONGOID-5151 Respect aliased fields in pluck/distinct by having Document.database_field_name recursively consider embedded docs (#5047)
* MONGOID-???? database_field_name should work with embedded fields
database_field_name does not currently handle "." delimiter char.
As an improvement, it should consider embedded doc "store_as" and
embedded field aliases.
This is a precursor to further improvements on "distinct" and "pluck" methods.
* add integration tests
* add documentation
* add release note
* relations -> associations
* mark private
* replace freezes with dup
* Comment out the where test
* relations -> associations
* remove commented out test
Co-authored-by: shields <[email protected]>
Co-authored-by: Oleg Pudeyev <[email protected]>
Co-authored-by: Dmitry Rybakov <[email protected]>
0 commit comments