Comments (4)
@jarl-dk , Since the PR is not merged yet, I think instead of closing this issue we should keep it open or maybe mark as duplicate. I can go ahead and update the PR description to include that this issue will be fixed as well.
from rails.
cc/ @nvasilevski can you take a look at this?
from rails.
@jarl-dk , This issue is similar to the one addressed by #50297. The root cause for this one seems to be related to the stale state detection. I tested your script against that branch and can confirm it fixes the issue. You can verify the same using the following.
gem "rails", github: "iamradioactive/rails", branch: "handle_composite_foreign_keys"
Let me know if I missed something.
from rails.
I confirm that my script works against that branch.
from rails.
Related Issues (20)
- ActiveRecord.upset generates a databases warning with MySQL 8
- ActionText::RichText attachments not cleaned up when content made empty HOT 1
- add a better interface to the issues tab on this repo HOT 1
- Unnecessary auto save is triggered for polymorphic has_one defined in child class using single-table inheritance HOT 3
- ActiveStorage ProxyController sets Cache-Control headers on errors like FileNotFoundError HOT 3
- Using preload with composite keys can cause too many records to be read HOT 3
- Empty multipart form data raises ActionController::BadRequest error since Rails 7.0.5 HOT 6
- Incompatible with nio4r 2.5.8 gem when running Bundle Install (Rails version 7.0.5.1) HOT 2
- Can't use Model.exists? with composite primary keys HOT 1
- Missing Active Record encryption credential when using ActiveRecord::Encryption.without_encryption HOT 1
- Forked child processes created through rails runner throw error from ActiveRecord when exiting HOT 3
- Add .default method to ActiveSupport::ParameterFilter (syntax sugar) HOT 2
- RedisCacheStore not fault tolerant (as I expected) HOT 3
- Doc have typo? HOT 3
- `ActiveRecord::Migration::check_all_pending!` resets connection pool when in use in other threads HOT 2
- migrate `migrate` folder to `migrations` HOT 3
- Using a secret_key_base from `secrets.yml` should raise a deprecation warning in development HOT 1
- Autoloaded classes raise NameError when accessed in parent's on_load hook during load
- Active Storage bug HOT 3
- [Question]`mark_for_destruction` not destroying records when loading using `find_by` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails.