Skip to content

Commit

Permalink
Add more comments for has_many_inversing
Browse files Browse the repository at this point in the history
  • Loading branch information
mayorova committed May 14, 2024
1 parent 7e1c014 commit f1e2ad9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ class Application < Rails::Application
config.active_record.include_root_in_json = true

# Support for inversing belongs_to -> has_many Active Record associations.
# Overriding Rails 6.1 default, because it causes various issues
# Overriding Rails 6.1 default, because it causes various issues.
# Likely we need to keep it forever as we can't override it for individual use cases.
# Also the feature has outstanding bugs: rails/rails#47559 rails/rails#50258.
config.active_record.has_many_inversing = false

# Make `form_with` generate non-remote forms. Defaults true in Rails 5.1 to 6.0
Expand Down

0 comments on commit f1e2ad9

Please sign in to comment.