@array = [1, 2, 3, 4]
I have the following input
= f.input :organism_id_eq_all, collection: @array
But it doesn't work in ransack, I get the following sql:
SELECT ... WHERE `organism_id` IN (0)
What's wrong with my code?
Thanks.
@array = [1, 2, 3, 4]
I have the following input
= f.input :organism_id_eq_all, collection: @array
But it doesn't work in ransack, I get the following sql:
SELECT ... WHERE `organism_id` IN (0)
What's wrong with my code?
Thanks.