Skip to content

Conversation

carlosantoniodasilva
Copy link
Member

Some time ago this was fixed related to the :methods option, now I noticed the same issue with :include. To make the api more consistent, this changes it to return string keys as well.

It also removes the usage of Array#wrap in serialization module.

@rafaelfranca
Copy link
Member

👍

josevalim added a commit that referenced this pull request Mar 10, 2012
…lization-include

Active model serialization :include returning string keys
@josevalim josevalim merged commit 3e77649 into rails:master Mar 10, 2012
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.

3 participants