Skip to content

Conversation

@eileencodes
Copy link
Member

We already have access to the active_record on the reflection here so there's no point in passing it to derive_fk_query_constraints.

In addition the id, fk check wasn't actually doing anything here, it was holdover from debugging I was doing when implementing this functionality.

We already have access to the `active_record` on the reflection here so there's no point in passing it to `derive_fk_query_constraints`. In addition the id, fk check wasn't actually doing anything here, it was holdover from debugging I was doing when implementing this functionality.
@eileencodes eileencodes merged commit edd43af into rails:main Sep 13, 2023
@eileencodes eileencodes deleted the minor-refactoring-on-derived-fk branch September 13, 2023 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant