diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-26 12:45:38 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-26 12:59:16 +0900 |
commit | b2b559c75cf7c8f1dc6f22057b7780c72f45af51 (patch) | |
tree | 599a9246e416ad2f27467007cd8644d403d828c3 /actionpack/test/controller/url_for_integration_test.rb | |
parent | 5883a7209239dfe7e6de1b5db210ad4912bc01bc (diff) | |
download | rails-b2b559c75cf7c8f1dc6f22057b7780c72f45af51.tar.gz rails-b2b559c75cf7c8f1dc6f22057b7780c72f45af51.tar.bz2 rails-b2b559c75cf7c8f1dc6f22057b7780c72f45af51.zip |
Fix CI failure due to remaining tagging records
`TRUNCATE TABLE posts` also resets `AUTO_INCREMENT`. If newly created a
post, it is wrongly associated with remaining tagging records.
To un-associate remaining tagging record, use `post.create_tagging!`
instead.
Fixes #35751.
Diffstat (limited to 'actionpack/test/controller/url_for_integration_test.rb')
0 files changed, 0 insertions, 0 deletions