Skip to content

Fix orderable on embedded documents inside an inherited model.#49

Merged
dblock merged 2 commits intomongoid:masterfrom
rafaelgaspar:fix_embedded_in_inherited_model
Nov 21, 2016
Merged

Fix orderable on embedded documents inside an inherited model.#49
dblock merged 2 commits intomongoid:masterfrom
rafaelgaspar:fix_embedded_in_inherited_model

Conversation

@rafaelgaspar
Copy link
Copy Markdown
Contributor

Replace send(MongoidOrderable.metadata(self).inverse) with mongoid's helper _parent

@dblock
Copy link
Copy Markdown
Contributor

dblock commented Nov 21, 2016

If you don't mind fixing the build with this please? We can drop Ruby 1.9.3 and 2.1.

@dblock dblock merged commit 1504023 into mongoid:master Nov 21, 2016
@dblock
Copy link
Copy Markdown
Contributor

dblock commented Nov 21, 2016

I didn't actually realize this fixes an issue? We need a spec for it, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants