rails/rails — pull request #12364 by arthurnn (2013-09-25 23:58:43+00:00)
Title: Test fix validate

### Problem
When counting the number of queries(e.g. IdentityMap), we cannot touch `firm` when saving a `Client`

### Solution
Add a instance var, which if set to true would touch the parent.

review @rafaelfranca
If you wanna to cherry-pick this to master is ok too.