rails/rails — pull request #15458 by sgrif (2014-06-01 13:49:00+00:00)
Title: Detect in-place changes on mutable attributes on Active Model

We have several mutable types on Active Record now. (Serialized, JSON,
HStore). We need to be able to detect if these have been modified in
place. By storing the hashed value of the original attribute, we can
achieve this without significantly increasing memory usage or time for
dirty checking per-record.

fixes #8328