Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set counter caches to correct values in fixtures #25346

Merged
merged 1 commit into from
Nov 9, 2017

Conversation

bogdan
Copy link
Contributor

@bogdan bogdan commented Jun 10, 2016

Summary

I tried to make a patch in AR that suppose to fix an issue, but some of tests started to fail because posts fixtures counter caches are set incorrectly and invalid data is put into database. So this patch just sets right fixture values to the right value for all fixtures.

@rails-bot
Copy link

r? @pixeltrix

(@rails-bot has picked a reviewer for you, use r? to override)

@bogdan bogdan force-pushed the correct-tags-count-in-fixtures branch 2 times, most recently from c38da2e to 776878f Compare June 13, 2016 14:41
@bogdan bogdan changed the title Set tags_count to correct value in fixtures Set counter caches to correct values in fixtures Jun 13, 2016
@bogdan bogdan force-pushed the correct-tags-count-in-fixtures branch from 776878f to d87822e Compare June 15, 2016 09:55
@bogdan bogdan force-pushed the correct-tags-count-in-fixtures branch 2 times, most recently from bcb0dfc to e51108c Compare August 16, 2016 11:33
@bogdan bogdan force-pushed the correct-tags-count-in-fixtures branch 2 times, most recently from 1325239 to 6bf1ec5 Compare May 11, 2017 10:17
@bogdan
Copy link
Contributor Author

bogdan commented May 11, 2017

@sgrif can you please review this one? It blocks some interesting patches I want accomplish.

@bogdan bogdan force-pushed the correct-tags-count-in-fixtures branch from 6bf1ec5 to bf0772a Compare November 7, 2017 15:24
@bogdan
Copy link
Contributor Author

bogdan commented Nov 7, 2017

@pixeltrix can you review this one?

I have some interesting work that is blocked by an inconsistency in test suite data.

@pixeltrix
Copy link
Contributor

@bogdan can you fix the rubocop issue - thanks!

@bogdan bogdan force-pushed the correct-tags-count-in-fixtures branch from bf0772a to ae6361b Compare November 8, 2017 18:46
@rafaelfranca rafaelfranca merged commit 1c6db52 into rails:master Nov 9, 2017
kamipo pushed a commit that referenced this pull request Dec 20, 2017
Set counter caches to correct values in fixtures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants