Skip to content

Accounting for change in Mongoid's metadata API.#21

Merged
pyromaniac merged 1 commit intomongoid:masterfrom
pjkelly:master
Mar 4, 2014
Merged

Accounting for change in Mongoid's metadata API.#21
pyromaniac merged 1 commit intomongoid:masterfrom
pjkelly:master

Conversation

@pjkelly
Copy link
Copy Markdown
Contributor

@pjkelly pjkelly commented Mar 4, 2014

From Mongoid's changelog:

Document#metadata has been renamed to Document#relation_metadata to
avoid common conflicts. Relation proxies also have this renamed to the
same as well.

This patch takes the same approach used for the inc method. All tests pass in CI without any changes.

pyromaniac added a commit that referenced this pull request Mar 4, 2014
Accounting for change in Mongoid's metadata API.
@pyromaniac pyromaniac merged commit 4bad3cc into mongoid:master Mar 4, 2014
@pyromaniac
Copy link
Copy Markdown
Collaborator

Awesome, thanks!

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