Active model serialization :include returning string keys #5364

Merged
merged 3 commits into from Mar 10, 2012

Projects

None yet

3 participants

@carlosantoniodasilva
Ruby on Rails 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
Ruby on Rails member

👍

@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