forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't pass active_record to
derive_fk_query_constraints
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.
- Loading branch information
1 parent
bd4996b
commit 86a5f33
Showing
1 changed file
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters