rails/rails — pull request #6167 by edtsech (2012-05-05 06:21:39+00:00)
Title: Add test for caching aggrigration part in write_method.

Because now if we change this line https://github.com/rails/rails/blob/master/activerecord/lib/active_record/aggregations.rb#L255
to smth like that:
```
@aggregation_cache[name] = nil
```
related tests won't be failed.
Thanks.