rails/rails — pull request #6498 by edtsech (2012-05-26 15:43:01+00:00)
Title: Clear aggregation cache after setter method calls.

Solve this issue:
customer.address.street # => "Quiet Road"
customer.address_street = "Noisy Road"
customer.address.street # => "Quiet Road"