Skip to content

Fix query counters when testing with IdentityMap on 3.2 #12364

Merged
merged 1 commit into from Sep 26, 2013

2 participants

@arthurnn
Ruby on Rails member

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.

@rafaelfranca rafaelfranca merged commit e82ceca into rails:3-2-stable Sep 26, 2013

1 check was pending

Details default The Travis CI build is in progress
@arthurnn arthurnn deleted the arthurnn:test_fix_validate branch Sep 26, 2013
@arthurnn
Ruby on Rails member

💚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.