-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
id column not receiving array for custom ransacker #472
Comments
I am experiencing the same issue, and have looked through the source a bit, but I'll keep digging for the bug. It appears that the first name is being passed in incorrectly, so that's also an issue right? I feel like this is a result of Arel updating to 6.0. |
Update: #486 fixes compatibility with Arel 6.0. Filtering on a string field instead of |
Filtering on a string field works now in PR #488 |
Great job! Closing this. |
I have a ransacker called
:student_users
and use the filterstudent_users_in
I've simplified the code below to try and show what is happening
I'd expect the above to return
SELECT DISTINCT "users".* FROM "users" WHERE "users"."id" IN (10,11)
If I return an integer in the proc then it behaves as I'd expect
If I filter the
first_name
(string) field instead ofid
, it shows that the array is actually getting passed from the procHave I misunderstood something here?
The text was updated successfully, but these errors were encountered: