rails/rails — pull request #5018 by hammerdr (2012-02-12 14:10:36+00:00)
Title: Adding documentation to clarify usage of attributes hash.

Serialization uses only the attributes hash's keys and calls
methods that are of the same name as the keys on the serialized
object.

This would close issue #4659.