rails/rails — pull request #5810 by kennyj (2012-04-11 15:57:16+00:00)
Title: Fix #5797. Error calling dup method on AR model with serialized field

When we call the initialize_attributes method in serialization.rb, sometimes it is serialized, sometimes it is not serialized.

And for consistency I also changed the initialize_attributes's signiture in optimistic.rb.

Closes #5797