rails/rails — pull request #15432 by sgrif (2014-05-30 20:12:30+00:00)
Title: Don't change values in `@raw_attributes` during serialization

During `init_with`, the attributes given to the coder will be placed
into `@raw_attributes`. As such, we should read from `@raw_attributes`
when encoding, rather than `@attributes`, which has been type cast.