Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #37825 - Fix resource nesting for PreloadScopesBuilder
Without this patch Ansible-related scopes for Host::Managed.includes() would look like: [ { host_ansible_roles: :ansible_roles }, { ansible_role: [{ ansible_variables: [:lookup_values] }] } ], which for some reason worked before Rails 7. After this patch, it looks like: [ { host_ansible_roles: { ansible_role: [{ ansible_variables: [:lookup_values] }] } } ].
- Loading branch information