Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
create params[:q] condition with "in" predicate #175
What I'm trying to do is to create params[:q] condition with "in" predicate that produces the following SQL code:
I'm inserting this to the params[:q]:
And getting the following error:
actually what I'm asking is how do I convert this:
Would really appreciate your help in this manner
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
This issue appears more to be a HOW-TO issue rather than a bug in Ransack. We are in the process of cleaning up the Ransack gem and repo. If this issue is still relevant could you please ask it on StackOverflow?
If you think it is an issue with Ransack, please provide a repo with the issue and / or a pull request with failing tests. If you don't know how to do this, indicate it in the issue and we will look into it eventually.