Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Comments

Added ValidationErrors::ToJson#as_json and Collection#as_json.#21

Open
postmodern wants to merge 1 commit intodatamapper:masterfrom
postmodern:as_json
Open

Added ValidationErrors::ToJson#as_json and Collection#as_json.#21
postmodern wants to merge 1 commit intodatamapper:masterfrom
postmodern:as_json

Conversation

@postmodern
Copy link
Member

Added Collection#as_json and ValidationErrors::ToJson#as_json to match Resource#as_json. By providing Collection#as_json, the #to_json methods no longer have to rely on :to_json => false.

@postmodern
Copy link
Member Author

@dkubb bump. Has this been fixed already?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant